iterate.com / stdlib

git clone https://git.iterate.com/repos/stdlib

stdlib / files.d.tsmain at 41005ca

// What a module of the repos gets when it imports a file that is not code: the mind's loader makes
// a file its text, or its bytes when it is not text, and a folder (an import that ends in `/`)
// every file under it, by path.
declare module "*.html" {
  const text: string;
  export default text;
}
declare module "*.css" {
  const text: string;
  export default text;
}
declare module "*/" {
  const files: Record<string, string | Uint8Array>;
  export default files;
}