mirror of
https://github.com/NativeScript/NativeScript.git
synced 2025-08-16 20:11:24 +08:00
Modified the http module to remove the cyclic references. Added promises.d.ts.
This commit is contained in:
4
file-system/file-system-access.d.ts
vendored
4
file-system/file-system-access.d.ts
vendored
@ -1,6 +1,4 @@
|
||||
// TODO: Implement "hidden" notation so that such declarations are not included in the d.ts file we will provide for the users.
|
||||
//@hidden
|
||||
|
||||
//@private
|
||||
export declare class FileSystemAccess {
|
||||
getLastModified(path: string): Date;
|
||||
|
||||
|
2
file-system/file-system.d.ts
vendored
2
file-system/file-system.d.ts
vendored
@ -1,7 +1,7 @@
|
||||
|
||||
declare module "file-system" {
|
||||
|
||||
import promises = require("promises/promises");
|
||||
import promises = require("promises");
|
||||
|
||||
export class FileSystemEntity {
|
||||
/**
|
||||
|
@ -1,5 +1,5 @@
|
||||
import file_access_module = require("file-system/file-system-access");
|
||||
import promises = require("promises/promises");
|
||||
import promises = require("promises");
|
||||
|
||||
// The FileSystemAccess implementation, used through all the APIs.
|
||||
var fileAccess;
|
||||
|
Reference in New Issue
Block a user