Skip to content

Commit

Permalink
refactor: correct ts lib usage
Browse files Browse the repository at this point in the history
  • Loading branch information
PeachScript committed Mar 25, 2024
1 parent 5228e9f commit 42589f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/server/src/ssr.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/// <reference lib="webworker" />
import type { RequestHandler } from '@umijs/bundler-utils/compiled/express';
import React, { ReactElement } from 'react';
import * as ReactDomServer from 'react-dom/server';
Expand Down
3 changes: 1 addition & 2 deletions packages/server/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"extends": "../../tsconfig.base.json",
"compilerOptions": {
"outDir": "./dist",
"rootDir": "./src",
"lib": ["WebWorker"]
"rootDir": "./src"
},
"include": ["src"]
}

0 comments on commit 42589f6

Please sign in to comment.