* @param {FakeMapType} type type * @param {boolean=} asyncModule is async module * @returns {string} return result
(type, asyncModule)
| 794 | * @returns {string} return result |
| 795 | */ |
| 796 | getReturn(type, asyncModule) { |
| 797 | if (type === 9) { |
| 798 | return `${RuntimeGlobals.require}(id)`; |
| 799 | } |
| 800 | return `${RuntimeGlobals.createFakeNamespaceObject}(id, ${type}${ |
| 801 | asyncModule ? " | 16" : "" |
| 802 | })`; |
| 803 | } |
| 804 | |
| 805 | /** |
| 806 | * @param {FakeMap | FakeMapType} fakeMap fake map |
no outgoing calls
no test coverage detected