bun-types
Version:
Type definitions and documentation for Bun, an incredibly fast JavaScript runtime
26 lines (21 loc) • 421 B
TypeScript
declare module "*.txt" {
var text: string;
export = text;
}
declare module "*.toml" {
var contents: any;
export = contents;
}
declare module "*.jsonc" {
var contents: any;
export = contents;
}
declare module "*/bun.lock" {
var contents: import("bun").BunLockFile;
export = contents;
}
declare module "*.html" {
// In Bun v1.2, we might change this to Bun.HTMLBundle
var contents: any;
export = contents;
}