Home
last modified time | relevance | path

Searched refs:defaultExport (Results 1 – 8 of 8) sorted by relevance

/third_party/typescript/src/services/
DexportInfoMap.ts454 …const defaultExport = checker.tryGetMemberInModuleExports(InternalSymbolName.Default, moduleSymbol… constant
455 if (defaultExport) return { symbol: defaultExport, exportKind: ExportKind.Default };
458 …function getDefaultExportInfoWorker(defaultExport: Symbol, checker: TypeChecker, compilerOptions: …
459 const localSymbol = getLocalSymbolForExportDefault(defaultExport);
462 const name = getNameForExportDefault(defaultExport);
463 if (name !== undefined) return { symbolForMeaning: defaultExport, name };
465 if (defaultExport.flags & SymbolFlags.Alias) {
466 const aliased = checker.getImmediateAliasedSymbol(defaultExport);
476 if (defaultExport.escapedName !== InternalSymbolName.Default &&
477 defaultExport.escapedName !== InternalSymbolName.ExportEquals) {
[all …]
/third_party/node/test/es-module/
Dtest-esm-loader.mjs56 const { default: defaultExport } = parsedModule;
57 assert.strictEqual(typeof defaultExport, 'function');
58 assert.strictEqual(defaultExport.name, 'iAmReal');
59 assert.strictEqual(defaultExport(), true);
Dtest-esm-loader-spawn-promisified.mjs197 const { default: defaultExport } = parsedModule;
198 assert.strictEqual(typeof defaultExport, 'function');
199 assert.strictEqual(defaultExport.name, 'iAmReal');
200 assert.strictEqual(defaultExport(), true);
/third_party/typescript/tests/arkTSTest/testcase/arkts-no-misplaced-imports/path/
DmoduleName.ts26 export default function defaultExport() { function
/third_party/jerryscript/docs/
D15.MODULE-SYSTEM.md124 import defaultExport, { b as c } from 'module.js'
126 print (defaultExport); // 2
/third_party/typescript/src/compiler/
Dchecker.ts2944 const defaultExport = exportStar.declarations?.find(decl => !!(
2948 if (defaultExport) {
2949 …addRelatedInfo(diagnostic, createDiagnosticForNode(defaultExport, Diagnostics.export_Asterisk_does…
/third_party/typescript/lib/
DtypingsInstaller.js53166 …var defaultExport = (_c = exportStar.declarations) === null || _c === void 0 ? void 0 : _c.find(fu…
53171 if (defaultExport) {
53172 …ts.addRelatedInfo(diagnostic, ts.createDiagnosticForNode(defaultExport, ts.Diagnostics.export_Aste…
Dtsc.js43896 …var defaultExport = (_c = exportStar.declarations) === null || _c === void 0 ? void 0 : _c.find(fu…
43901 if (defaultExport) {
43902 …ts.addRelatedInfo(diagnostic, ts.createDiagnosticForNode(defaultExport, ts.Diagnostics.export_Aste…