* Obtain a newly created block. * * @param prototypeName Name of the language object containing type-specific * functions for this block. * @param opt_id Optional ID. Use this ID if provided, otherwise create a new * ID. * @returns The created block.
(prototypeName: string, opt_id?: string)
| 424 | * @returns The created block. |
| 425 | */ |
| 426 | newBlock(prototypeName: string, opt_id?: string): Block { |
| 427 | throw new Error( |
| 428 | 'The implementation of newBlock should be ' + |
| 429 | 'monkey-patched in by blockly.ts', |
| 430 | ); |
| 431 | } |
| 432 | |
| 433 | /** |
| 434 | * Obtain a newly created comment. |
no outgoing calls
no test coverage detected