UNPKG

689 BTypeScriptView Raw
1declare module '*.css' {
2 const src: string;
3 export default src;
4}
5
6declare module '*.svg' {
7 const src: string;
8 export default src;
9}
10
11declare module '*.txt' {
12 const src: string;
13 export default src;
14}
15
16declare module '*.frag' {
17 const src: string;
18 export default src;
19}
20
21declare module '*.vert' {
22 const src: string;
23 export default src;
24}
25
26declare module '*?worker' {
27 export const worker: Worker;
28 export const workerMsgId: string;
29 export const workerName: string;
30 export const workerPath: string;
31}
32
33declare module '*?format=url' {
34 const src: string;
35 export default src;
36}
37
38declare module '*?format=text' {
39 const content: string;
40 export default content;
41}