initial commit
This commit is contained in:
11
packages/woocommerce-admin/typings/global.d.ts
vendored
Normal file
11
packages/woocommerce-admin/typings/global.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
declare global {
|
||||
interface Window {
|
||||
wcSettings: {
|
||||
preloadOptions: Record< string, unknown >;
|
||||
adminUrl: string;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
/*~ If your module exports nothing, you'll need this line. Otherwise, delete it */
|
||||
export {};
|
11
packages/woocommerce-admin/typings/index.d.ts
vendored
Normal file
11
packages/woocommerce-admin/typings/index.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
declare module '@woocommerce/e2e-utils';
|
||||
declare module '@woocommerce/e2e-environment';
|
||||
declare module '@wordpress/data';
|
||||
declare module '@wordpress/compose';
|
||||
declare module 'gridicons/dist/*' {
|
||||
const value: React.ElementType< {
|
||||
size?: 12 | 18 | 24 | 36 | 48 | 54 | 72;
|
||||
onClick?: ( event: MouseEvent | KeyboardEvent ) => void;
|
||||
} >;
|
||||
export default value;
|
||||
}
|
Reference in New Issue
Block a user