2017-05-07 17:39:21 +03:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2017-06-04 17:21:33 +03:00
|
|
|
exports[`index-signature.ts 1`] = `
|
|
|
|
class LocalStorage implements Storage {
|
|
|
|
[index: number]: string;
|
|
|
|
[key: string]: any;
|
|
|
|
}
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
class LocalStorage implements Storage {
|
|
|
|
[index: number]: string
|
|
|
|
[key: string]: any
|
|
|
|
}
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
2017-05-07 17:39:21 +03:00
|
|
|
exports[`interface.ts 1`] = `
|
|
|
|
interface Inline { x: string }
|
|
|
|
|
|
|
|
interface MultiLine {
|
|
|
|
x: string;
|
|
|
|
y: string;
|
|
|
|
}
|
2017-06-03 15:18:59 +03:00
|
|
|
|
|
|
|
interface InlineMultiple { x: string; y: string }
|
2017-05-07 17:39:21 +03:00
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
interface Inline { x: string }
|
|
|
|
|
|
|
|
interface MultiLine {
|
|
|
|
x: string
|
|
|
|
y: string
|
|
|
|
}
|
|
|
|
|
2017-06-03 15:18:59 +03:00
|
|
|
interface InlineMultiple { x: string; y: string }
|
|
|
|
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`type.js 1`] = `
|
|
|
|
type A = {disabled?: boolean, error?: string}
|
|
|
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
|
type A = { disabled?: boolean; error?: string }
|
|
|
|
|
2017-05-07 17:39:21 +03:00
|
|
|
`;
|