chore: 修复 KeyType 定义错误

This commit is contained in:
力皓 2021-04-01 13:46:05 +08:00
parent 07d3a79845
commit 2ab953db61
3 changed files with 1 additions and 7 deletions

View File

@ -21,7 +21,6 @@
"setup:skip-build": "./scripts/setup-skip-build.sh",
"start": "./scripts/start.sh",
"start:demo": "./scripts/start.sh @ali/lowcode-demo",
"start:server": "./scripts/start-server.sh",
"test": "lerna run test --stream",
"test:snapshot": "lerna run test:snapshot",
"watchdog:build": "node ./scripts/watchdog.js",

View File

@ -3,7 +3,7 @@ import { ReactNode, ComponentType } from 'react';
import { NpmInfo } from './npm';
import { RegisterOptions } from 'power-di';
export type KeyType = new (...args: any[]) => any | symbol | string;
export type KeyType = (new (...args: any[]) => any) | symbol | string;
export type ClassType = new (...args: any[]) => any;
export interface GetOptions {
forceNew?: boolean;

View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
# FIXME! do not run build
lerna exec --scope @ali/lowcode-code-generator -- npm run build
# lerna exec --scope @ali/lowcode-demo-server -- npm start