Newer
Older
vue-indexer / node_modules / @tootallnate / quickjs-emscripten / dist / esmHelpers.d.ts
@eugene-sukhodolskiy eugene-sukhodolskiy on 24 Sep 420 bytes v1.0
/** Typescript thinks import('...js/.d.ts') needs mod.default.default */
declare function fakeUnwrapDefault<T>(mod: {
    default: T;
}): T;
/** Typescript thinks import('...ts') doesn't need mod.default.default, but does */
declare function actualUnwrapDefault<T>(mod: T): T;
export declare const unwrapTypescript: typeof actualUnwrapDefault;
export declare const unwrapJavascript: typeof fakeUnwrapDefault;
export {};