Merge pull request #17279 from iamstevetran/master

Create types for ffmpeg-static  and ffprobe-static
This commit is contained in:
Nathan Shively-Sanders
2017-06-20 11:16:34 -07:00
committed by GitHub
8 changed files with 72 additions and 0 deletions
@@ -0,0 +1,3 @@
import * as ffmpegStatic from 'ffmpeg-static';
ffmpegStatic.path;
+10
View File
@@ -0,0 +1,10 @@
// Type definitions for ffmpeg-static 2.0
// Project: https://github.com/eugeneware/ffmpeg-static#readme
// Definitions by: Steve Tran <https://github.com/iamstevetran>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/*~ You can declare properties of the module using const, let, or var */
/**
* Binary location
*/
export const path: string;
+22
View File
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"ffmpeg-static-tests.ts"
]
}
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }
@@ -0,0 +1,3 @@
import * as ffprobeStatic from 'ffmpeg-static';
ffprobeStatic.path;
+10
View File
@@ -0,0 +1,10 @@
// Type definitions for ffprobe-static 2.0
// Project: https://github.com/joshwnj/ffprobe-static
// Definitions by: Steve Tran <https://github.com/iamstevetran>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/*~ You can declare properties of the module using const, let, or var */
/**
* Binary location
*/
export const path: string;
+22
View File
@@ -0,0 +1,22 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"ffprobe-static-tests.ts"
]
}
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }