vue/flow/modules.js
2017-02-03 10:42:19 -05:00

32 lines
670 B
JavaScript

declare module 'he' {
declare function escape(html: string): string;
declare function decode(html: string): string;
}
declare module 'source-map' {
declare class SourceMapGenerator {
setSourceContent(filename: string, content: string): void;
addMapping(mapping: Object): void;
toString(): string;
}
declare class SourceMapConsumer {
originalPositionFor(position: { line: number; column: number; }): {
source: ?string;
line: ?number;
column: ?number;
};
}
}
declare module 'lru-cache' {
declare var exports: {
(): any
}
}
declare module 'de-indent' {
declare var exports: {
(input: string): string
}
}