Skip to content

Commit

Permalink
feat: ✨ testtest
Browse files Browse the repository at this point in the history
  • Loading branch information
G committed Dec 27, 2023
1 parent 433ad9d commit 6275dd0
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
File renamed without changes.
6 changes: 3 additions & 3 deletions apps/admin/typings/global.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
declare type Nullable<T> = T | null
declare type Recordable<T = any> = Record<string, T>
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>
declare type Nullable<T> = T | null;
declare type Recordable<T = any> = Record<string, T>;
declare type ElRef<T extends HTMLElement = HTMLDivElement> = Nullable<T>;
8 changes: 4 additions & 4 deletions apps/admin/typings/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
declare interface Fn<T = any, R = T> {
(...arg: T[]): R
(...arg: T[]): R;
}

declare type AnyFn = (...args: any[]) => any
declare type AnyFn = (...args: any[]) => any;

declare type TargetContext = '_self' | '_blank'
declare type TargetContext = '_self' | '_blank';

declare module 'react-org-tree'
declare module 'react-org-tree';
5 changes: 2 additions & 3 deletions apps/admin/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,10 @@ export default ({ command, mode }: ConfigEnv): UserConfig => {
prodEnabled: isBuild,
injectCode: `
import { setupProdMockServer } from './_createProductionServer';
console.log(10086);
setupProdMockServer()
`,
// 当前文件夹下的src/main.ts
injectFile: './src/main.tsx',
// 当前文件夹下的src/main.tsx
}),
],

Expand Down

0 comments on commit 6275dd0

Please sign in to comment.