mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-12 12:10:44 +08:00
+ renaming module JSData_ to JSData since it is possible to declare var and module with the same name
This commit is contained in:
Vendored
+3
-3
@@ -14,7 +14,7 @@
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// defining what exists in JSData and how it looks
|
||||
declare module JSData_ {
|
||||
declare module JSData {
|
||||
|
||||
interface JSDataPromise<R> extends Promise<R> {
|
||||
|
||||
@@ -398,8 +398,8 @@ declare module JSData_ {
|
||||
|
||||
// declaring the existing global js object
|
||||
declare var JSData:{
|
||||
DS: JSData_.DS;
|
||||
DSErrors: JSData_.DSErrors;
|
||||
DS: JSData.DS;
|
||||
DSErrors: JSData.DSErrors;
|
||||
};
|
||||
|
||||
//Support node require
|
||||
|
||||
Reference in New Issue
Block a user