64 lines
1.5 KiB
Plaintext
64 lines
1.5 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`import-type.ts - typescript-verify 1`] = `
|
|
// ref: https://github.com/Microsoft/TypeScript/pull/22592
|
|
|
|
export const x: import("./foo") = { x: 0, y: 0 };
|
|
|
|
export let y: import("./foo2").Bar.I = { a: "", b: 0 };
|
|
|
|
export let shim: typeof import("./foo2") = {
|
|
Bar: Bar2
|
|
};
|
|
|
|
export interface Foo {
|
|
bar: import('immutable').Map<string, int>;
|
|
}
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// ref: https://github.com/Microsoft/TypeScript/pull/22592
|
|
|
|
export const x: import("./foo") = { x: 0, y: 0 };
|
|
|
|
export let y: import("./foo2").Bar.I = { a: "", b: 0 };
|
|
|
|
export let shim: typeof import("./foo2") = {
|
|
Bar: Bar2
|
|
};
|
|
|
|
export interface Foo {
|
|
bar: import("immutable").Map<string, int>;
|
|
}
|
|
|
|
`;
|
|
|
|
exports[`import-type.ts - typescript-verify 2`] = `
|
|
// ref: https://github.com/Microsoft/TypeScript/pull/22592
|
|
|
|
export const x: import("./foo") = { x: 0, y: 0 };
|
|
|
|
export let y: import("./foo2").Bar.I = { a: "", b: 0 };
|
|
|
|
export let shim: typeof import("./foo2") = {
|
|
Bar: Bar2
|
|
};
|
|
|
|
export interface Foo {
|
|
bar: import('immutable').Map<string, int>;
|
|
}
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
// ref: https://github.com/Microsoft/TypeScript/pull/22592
|
|
|
|
export const x: import('./foo') = { x: 0, y: 0 };
|
|
|
|
export let y: import('./foo2').Bar.I = { a: '', b: 0 };
|
|
|
|
export let shim: typeof import('./foo2') = {
|
|
Bar: Bar2
|
|
};
|
|
|
|
export interface Foo {
|
|
bar: import('immutable').Map<string, int>;
|
|
}
|
|
|
|
`;
|