Update typings.
parent
4118c77b89
commit
7f2737cb82
|
@ -24,6 +24,9 @@
|
|||
],
|
||||
"baseUrl": ".",
|
||||
"paths": {
|
||||
"react-intl-formatted-duration": [
|
||||
"typings/react-intl-formatted-duration"
|
||||
],
|
||||
"url-slug": [
|
||||
"typings/url-slug"
|
||||
],
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
declare module 'react-intl-formatted-duration';
|
|
@ -0,0 +1,16 @@
|
|||
declare module 'react-intl-formatted-duration' {
|
||||
export interface FormattedDurationProps {
|
||||
seconds: number;
|
||||
textComponent?: React.ElementType;
|
||||
valueComponent?: React.ElementType;
|
||||
format?: string;
|
||||
unitDisplay?: 'long' | 'short' | 'narrow';
|
||||
}
|
||||
|
||||
// eslint-disable-next-line react/prefer-stateless-function
|
||||
class FormattedDuration extends React.Component<FormattedDurationProps> {}
|
||||
|
||||
static const TIMER_FORMAT: string;
|
||||
|
||||
export default FormattedDuration;
|
||||
}
|
|
@ -6900,6 +6900,7 @@ export interface VideoJsPlayerOptions extends videojs.ComponentOptions {
|
|||
src?: string;
|
||||
techOrder?: string[];
|
||||
tracks?: videojs.TextTrackOptions[];
|
||||
volume?: number;
|
||||
width?: number;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue