()
| 28 | * is a programming error rather than an expected state. |
| 29 | */ |
| 30 | export function getQuickAddInstance(): QuickAdd { |
| 31 | if (!instance) { |
| 32 | throw new Error( |
| 33 | "QuickAdd plugin instance accessed before it was initialised.", |
| 34 | ); |
| 35 | } |
| 36 | return instance; |
| 37 | } |
no outgoing calls
no test coverage detected