mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
Add support for secure file options
- Create new interface, ISecureFileOptions - Add "secure" key to IFileOptions interface.
This commit is contained in:
Vendored
+6
@@ -57,6 +57,11 @@ export interface IOptions {
|
||||
[index: string]: any;
|
||||
}
|
||||
|
||||
export interface ISecureFileOptions {
|
||||
secret: string;
|
||||
alg?: string;
|
||||
}
|
||||
|
||||
export interface IFileOptions {
|
||||
type?: string;
|
||||
file?: string;
|
||||
@@ -64,6 +69,7 @@ export interface IFileOptions {
|
||||
search?: boolean;
|
||||
format?: IFormat;
|
||||
json_spacing?: number;
|
||||
secure?: ISecureOptions;
|
||||
}
|
||||
|
||||
export interface ICallbackFunction {
|
||||
|
||||
Reference in New Issue
Block a user