mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
stegcloak (#50034)
* stegclock * fix test * bug fix * no idea why lodash is changed
This commit is contained in:
14
types/stegcloak/index.d.ts
vendored
Normal file
14
types/stegcloak/index.d.ts
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
// Type definitions for stemmer 1.0
|
||||
// Project: https://github.com/KuroLabs/stegcloak
|
||||
// Definitions by: Will Ockmore <https://github.com/ktjd123>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare class StegCloak {
|
||||
constructor(encryption: boolean, hmac: boolean);
|
||||
|
||||
hide(secret: string, password: string, cover: string): string;
|
||||
|
||||
reveal(data: string, password: string): string;
|
||||
}
|
||||
|
||||
export = StegCloak;
|
||||
3
types/stegcloak/stegcloak-tests.ts
Normal file
3
types/stegcloak/stegcloak-tests.ts
Normal file
@@ -0,0 +1,3 @@
|
||||
import StegClock = require('stegcloak');
|
||||
|
||||
new StegClock(true, false);
|
||||
23
types/stegcloak/tsconfig.json
Normal file
23
types/stegcloak/tsconfig.json
Normal 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",
|
||||
"stegcloak-tests.ts"
|
||||
]
|
||||
}
|
||||
1
types/stegcloak/tslint.json
Normal file
1
types/stegcloak/tslint.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user