()
| 2 | // We only provide createRequire to avoid hard crashes; it is a noop in NS. |
| 3 | export function createRequire(_url: string) { |
| 4 | const req: any = function () { |
| 5 | throw new Error('createRequire is not supported in NativeScript runtime'); |
| 6 | }; |
| 7 | req.resolve = function () { |
| 8 | throw new Error('require.resolve is not supported in NativeScript runtime'); |
| 9 | }; |
no outgoing calls
no test coverage detected