Chore: Using named type imports now

This commit is contained in:
Aria Minaei 2021-06-27 13:43:39 +02:00
parent 6e19c51998
commit 385cfad9aa
6 changed files with 6 additions and 6 deletions

View file

@ -2,7 +2,7 @@ import type {OnDiskState} from '@theatre/core/projects/store/storeTypes'
import type TheatreProject from '@theatre/core/projects/TheatreProject' import type TheatreProject from '@theatre/core/projects/TheatreProject'
import type Sheet from '@theatre/core/sheets/Sheet' import type Sheet from '@theatre/core/sheets/Sheet'
import SheetTemplate from '@theatre/core/sheets/SheetTemplate' import SheetTemplate from '@theatre/core/sheets/SheetTemplate'
import type Studio from '@theatre/studio/Studio' import type {Studio} from '@theatre/studio/Studio'
import type {ProjectAddress} from '@theatre/shared/utils/addresses' import type {ProjectAddress} from '@theatre/shared/utils/addresses'
import type {Pointer} from '@theatre/dataverse' import type {Pointer} from '@theatre/dataverse'
import {PointerProxy} from '@theatre/dataverse' import {PointerProxy} from '@theatre/dataverse'

View file

@ -1,4 +1,4 @@
import type Studio from '@theatre/studio/Studio' import type {Studio} from '@theatre/studio/Studio'
import delay from '@theatre/shared/utils/delay' import delay from '@theatre/shared/utils/delay'
import {original} from 'immer' import {original} from 'immer'
import type Project from './Project' import type Project from './Project'

View file

@ -2,7 +2,7 @@ import UIRootWrapper from '@theatre/studio/UIRoot/UIRootWrapper'
import type {$IntentionalAny} from '@theatre/shared/utils/types' import type {$IntentionalAny} from '@theatre/shared/utils/types'
import React from 'react' import React from 'react'
import ReactDOM from 'react-dom' import ReactDOM from 'react-dom'
import type Studio from './Studio' import type {Studio} from './Studio'
export default class UI { export default class UI {
readonly containerEl = document.createElement('div') readonly containerEl = document.createElement('div')

View file

@ -1,5 +1,5 @@
import getStudio from '@theatre/studio/getStudio' import getStudio from '@theatre/studio/getStudio'
import type Studio from '@theatre/studio/Studio' import type {Studio} from '@theatre/studio/Studio'
import {usePrism} from '@theatre/shared/utils/reactDataverse' import {usePrism} from '@theatre/shared/utils/reactDataverse'
import {val} from '@theatre/dataverse' import {val} from '@theatre/dataverse'
import React from 'react' import React from 'react'

View file

@ -1,4 +1,4 @@
import type Studio from '@theatre/studio/Studio' import type {Studio} from '@theatre/studio/Studio'
import React from 'react' import React from 'react'
import UIRoot from './UIRoot' import UIRoot from './UIRoot'

View file

@ -1,4 +1,4 @@
import type Studio from './Studio' import type {Studio} from './Studio'
let studio: Studio let studio: Studio