63 lines
1.3 KiB
TypeScript
63 lines
1.3 KiB
TypeScript
declare module '*.svg' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.ico' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.png' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.jpg' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.css' {
|
|
const content: Record<string, string>;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.scss' {
|
|
const content: Record<string, string>;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.sass' {
|
|
const content: Record<string, string>;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.styl' {
|
|
const content: Record<string, string>;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.less' {
|
|
const content: Record<string, string>;
|
|
export default content;
|
|
}
|
|
|
|
declare module '@formatjs/intl-numberformat/locale-data/*' {
|
|
export default undefined;
|
|
}
|
|
|
|
declare namespace Intl {
|
|
type NumberFormatPartTypes = 'currency' | 'decimal' | 'fraction' | 'group' | 'infinity' | 'integer' | 'literal' | 'minusSign' | 'nan' | 'plusSign' | 'percentSign';
|
|
|
|
interface NumberFormatPart {
|
|
type: NumberFormatPartTypes;
|
|
value: string;
|
|
}
|
|
|
|
interface NumberFormat {
|
|
formatToParts(number?: number): NumberFormatPart[];
|
|
static polyfilled?: boolean;
|
|
}
|
|
}
|