chore: update demo

pull/2936/head
Amour1688 2020-10-02 22:03:21 +08:00
parent aa07504e31
commit f3c5166197
1 changed files with 0 additions and 14 deletions

View File

@ -1,20 +1,6 @@
import Empty from '../components/empty';
import '../components/empty/style';
type TypeName<T> = T extends string
? 'string'
: T extends number
? 'number'
: T extends boolean
? 'boolean'
: T extends undefined
? 'undefined'
: T extends Function
? 'function'
: 'object';
type T10 = TypeName<string | (() => void)>;
export default {
render() {
return <Empty />;