mirror of
https://github.com/GoogleChromeLabs/squoosh.git
synced 2025-11-18 03:29:17 +00:00
46 lines
714 B
TypeScript
46 lines
714 B
TypeScript
interface CanvasRenderingContext2D {
|
|
filter: string;
|
|
}
|
|
|
|
// Handling file-loader imports:
|
|
declare module '*.png' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.jpg' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.gif' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.svg' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module '*.wasm' {
|
|
const content: string;
|
|
export default content;
|
|
}
|
|
|
|
declare module 'url-loader!*' {
|
|
const value: string;
|
|
export default value;
|
|
}
|
|
|
|
declare var VERSION: string;
|
|
|
|
declare var ga: {
|
|
(...args: any[]): void;
|
|
q: any[];
|
|
};
|
|
|
|
interface Navigator {
|
|
readonly standalone: boolean;
|
|
}
|