feat: add typescript #641
Annotations
10 errors and 10 warnings
build:
src/Video.tsx#L9
Replace `"react"` with `'react'`
|
build:
src/Video.tsx#L10
Replace `⏎··View,⏎··StyleSheet,⏎··Image,⏎··Platform,⏎}·from·"react-native"` with `View,·StyleSheet,·Image,·Platform}·from·'react-native'`
|
build:
src/Video.tsx#L16
Replace `·RCTVideoConstants·}·from·"./VideoNativeComponent"` with `RCTVideoConstants}·from·'./VideoNativeComponent'`
|
build:
src/Video.tsx#L17
Replace `·NativeVideoResizeMode,·OnAudioFocusChangedData,·OnAudioTracksData,·OnPlaybackStateChangedData,·OnTextTracksData,·OnTimedMetadataData,·OnVideoErrorData,·OnVideoTracksData·}·from·'./VideoNativeComponent'` with `⏎··NativeVideoResizeMode,⏎··OnAudioFocusChangedData,⏎··OnAudioTracksData,⏎··OnPlaybackStateChangedData,⏎··OnTextTracksData,⏎··OnTimedMetadataData,⏎··OnVideoErrorData,⏎··OnVideoTracksData,⏎}·from·'./VideoNativeComponent';`
|
build:
src/Video.tsx#L19
Replace `·StyleProp,·ImageStyle,·NativeSyntheticEvent·}·from·"react-native"` with `StyleProp,·ImageStyle,·NativeSyntheticEvent}·from·'react-native'`
|
build:
src/Video.tsx#L33
Replace `"./VideoNativeComponent"` with `'./VideoNativeComponent'`
|
build:
src/Video.tsx#L34
Replace `·ReactVideoProps·}·from·"./types/video"` with `ReactVideoProps}·from·'./types/video'`
|
build:
src/Video.tsx#L35
Replace `·getReactTag,·resolveAssetSourceForVideo·}·from·"./utils"` with `getReactTag,·resolveAssetSourceForVideo}·from·'./utils'`
|
build:
src/Video.tsx#L43
Replace `restore:·boolean` with `⏎····restore:·boolean,⏎··`
|
build:
src/Video.tsx#L87
Insert `,`
|
build:
src/Video.tsx#L9
Strings must use singlequote
|
build:
src/Video.tsx#L15
Strings must use singlequote
|
build:
src/Video.tsx#L16
Strings must use singlequote
|
build:
src/Video.tsx#L17
Missing semicolon
|
build:
src/Video.tsx#L19
Strings must use singlequote
|
build:
src/Video.tsx#L33
Strings must use singlequote
|
build:
src/Video.tsx#L34
Strings must use singlequote
|
build:
src/Video.tsx#L35
Strings must use singlequote
|
build:
src/Video.tsx#L101
Strings must use singlequote
|
build:
src/Video.tsx#L103
Strings must use singlequote
|