Skip to content

Commit

Permalink
fix: import * as not support api-extractor
Browse files Browse the repository at this point in the history
  • Loading branch information
oct16 committed Jul 20, 2020
1 parent d48bddd commit 3878fb0
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
12 changes: 9 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"@types/jest": "^26.0.0",
"@types/node": "^13.9.2",
"@types/pako": "^1.0.1",
"@types/smoothscroll-polyfill": "^0.3.1",
"@types/socket.io-client": "^1.4.32",
"@zerollup/ts-transform-paths": "^1.7.17",
"diff": "^4.0.2",
Expand All @@ -64,7 +65,7 @@
"ts-jest": "^26.1.0",
"ttypescript": "^1.5.10",
"typedoc": "^0.17.7",
"typescript": "^3.9.3"
"typescript": "^4.0.0-beta"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions packages/player/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ import {
fmp,
isSnapshot,
classifyRecords,
isDev,
smoothScroll
isDev
} from '@timecat/utils'
import { ContainerComponent } from './container'
import { Panel } from './panel'
import pako from 'pako'
import io from 'socket.io-client'
import { SnapshotData, ReplayOptions, RecordData, AudioData, RecorderOptions } from '@timecat/share'
import { waitStart, removeStartPage, showStartMask } from './dom'
import smoothScroll from 'smoothscroll-polyfill'

export async function replay(options: ReplayOptions = { autoplay: true }) {
smoothScroll.polyfill()
Expand Down
1 change: 0 additions & 1 deletion packages/utils/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export * from './redux'
export * from './tools/common'
export * from './tools/tool'
export * from './polyfill/recover-native'
export * from './polyfill/smooth-scroll'
export * from './tools/dom'
export * from './scroll'
export * from './output'
Expand Down
2 changes: 0 additions & 2 deletions packages/utils/src/polyfill/smooth-scroll.ts

This file was deleted.

0 comments on commit 3878fb0

Please sign in to comment.