46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`ambient.ts 1`] = `
|
|
====================================options=====================================
|
|
parsers: ["typescript"]
|
|
printWidth: 80
|
|
| printWidth
|
|
=====================================input======================================
|
|
declare module "classnames" {
|
|
export default function classnames(...inputs: (string | number | false | object | undefined)[]): string;
|
|
export class x {}
|
|
export interface y {}
|
|
export type z = y;
|
|
}
|
|
|
|
declare module "x" {
|
|
export default class x {}
|
|
}
|
|
|
|
declare module "y" {
|
|
const y = 5;
|
|
export default y;
|
|
}
|
|
|
|
=====================================output=====================================
|
|
declare module "classnames" {
|
|
export default function classnames(
|
|
...inputs: (string | number | false | object | undefined)[]
|
|
): string;
|
|
export class x {}
|
|
export interface y {}
|
|
export type z = y;
|
|
}
|
|
|
|
declare module "x" {
|
|
export default class x {}
|
|
}
|
|
|
|
declare module "y" {
|
|
const y = 5;
|
|
export default y;
|
|
}
|
|
|
|
================================================================================
|
|
`;
|