Merge pull request #23750 from nju33/create-slackdown

Add typings for slackdown
This commit is contained in:
Daniel Rosenwasser
2018-02-19 11:03:37 -08:00
committed by GitHub
4 changed files with 33 additions and 0 deletions
+6
View File
@@ -0,0 +1,6 @@
// Type definitions for slackdown 0.1
// Project: https://github.com/blockmar/slackdown
// Definitions by: nju33 <https://github.com/nju33>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function parse(text: string): string;
+3
View File
@@ -0,0 +1,3 @@
import * as slackdown from 'slackdown';
slackdown.parse('xxx <http://xxxxx.jp|xxxxx.jp>');
+23
View File
@@ -0,0 +1,23 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"slackdown-tests.ts"
]
}
+1
View File
@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }