modules.js 409 B

123456789101112131415161718
  1. declare module 'entities' {
  2. declare function encodeHTML(html: string): string;
  3. declare function decodeHTML(html: string): string;
  4. }
  5. declare module 'source-map' {
  6. declare class SourceMapGenerator {
  7. setSourceContent(filename: string, content: string): void;
  8. addMapping(mapping: Object): void;
  9. toString(): string;
  10. }
  11. }
  12. declare module 'lru-cache' {
  13. declare var exports: {
  14. (): any
  15. }
  16. }