mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 09:41:45 +00:00
Changed typings according to ts handbook templates
This commit is contained in:
+10
-5
@@ -3,13 +3,16 @@
|
||||
// Definitions by: Christian Friedow <https://github.com/friedow>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
export interface Cookie {
|
||||
domain: string;
|
||||
path: string;
|
||||
key: string;
|
||||
|
||||
declare namespace FileCookieStore {
|
||||
export interface Cookie {
|
||||
domain: string;
|
||||
path: string;
|
||||
key: string;
|
||||
}
|
||||
}
|
||||
|
||||
export default class FileCookieStore {
|
||||
declare class FileCookieStore {
|
||||
idx: {
|
||||
[domain: string]: {
|
||||
[path: string]: {
|
||||
@@ -40,3 +43,5 @@ export default class FileCookieStore {
|
||||
|
||||
loadFromFile(filePath: string, cb: (data: any) => void): void;
|
||||
}
|
||||
|
||||
export = FileCookieStore
|
||||
|
||||
Reference in New Issue
Block a user