Skip to content

Commit 7de6c3d

Browse files
committed
Merge branch 'master' into rename-repo-url
2 parents 56295f5 + 89f1449 commit 7de6c3d

File tree

1,140 files changed

+179702
-179633
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,140 files changed

+179702
-179633
lines changed

HubSpot-pace/HubSpot-pace.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Definitions by: Borislav Zhivkov <https://github.com/borislavjivkov>
44
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
55

6-
declare module HubSpotPaceInterfaces {
6+
declare namespace HubSpotPaceInterfaces {
77
interface PaceOptions {
88
/**
99
* How long should it take for the bar to animate to a new point after receiving it

OpenJsCad/openjscad.d.ts

+7-7
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
55
/// <reference path="../threejs/three.d.ts" />
66

7-
declare module THREE {
7+
declare namespace THREE {
88
var CSG: {
99
fromCSG: (csg: CSG, defaultColor: any) => {
1010
colorMesh: Mesh;
@@ -144,7 +144,7 @@ declare module THREE {
144144
function RenderableSprite(): void;
145145
function Projector(): void;
146146
}
147-
declare module OpenJsCad {
147+
declare namespace OpenJsCad {
148148
interface ILog {
149149
(x: string): void;
150150
prevLogTime?: number;
@@ -404,7 +404,7 @@ declare class CSG extends CxG implements ICenter {
404404
toStlString(): string;
405405
toAMFString(m: IAMFStringOptions): Blob;
406406
}
407-
declare module CSG {
407+
declare namespace CSG {
408408
function fnNumberSort(a: any, b: any): number;
409409
function parseOption(options: any, optionname: any, defaultvalue: any): any;
410410
function parseOptionAs3DVector(options: any, optionname: any, defaultvalue: any): Vector3D;
@@ -546,7 +546,7 @@ declare module CSG {
546546
toStlString(): string;
547547
}
548548
}
549-
declare module CSG.Polygon {
549+
declare namespace CSG.Polygon {
550550
class Shared {
551551
color: any;
552552
tag: any;
@@ -557,7 +557,7 @@ declare module CSG.Polygon {
557557
getHash(): any;
558558
}
559559
}
560-
declare module CSG {
560+
declare namespace CSG {
561561
class PolygonTreeNode {
562562
parent: any;
563563
children: any;
@@ -869,7 +869,7 @@ declare class CAG extends CxG implements ICenter {
869869
toDxf(): Blob;
870870
static PathsToDxf(paths: CSG.Path2D[]): Blob;
871871
}
872-
declare module CAG {
872+
declare namespace CAG {
873873
class Vertex {
874874
pos: CSG.Vector2D;
875875
tag: number;
@@ -905,7 +905,7 @@ interface CAG_extrude_options {
905905
twistangle?: number;
906906
twiststeps?: number;
907907
}
908-
declare module CSG {
908+
declare namespace CSG {
909909
class Polygon2D extends CAG {
910910
constructor(points: Vector2D[]);
911911
}

PayPal-Cordova-Plugin/PayPal-Cordova-Plugin.d.ts

+28-28
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
/**
99
* The PayPalItem class defines an optional itemization for a payment.
10-
*
10+
*
1111
* @see https://developer.paypal.com/docs/api/#item-object for more details.
1212
*/
1313
declare class PayPalItem {
@@ -51,7 +51,7 @@ declare class PayPalItem {
5151

5252
/**
5353
* The PayPalPaymentDetails class defines optional amount details.
54-
*
54+
*
5555
* @see https://developer.paypal.com/webapps/developer/docs/api/#details-object for more details.
5656
*/
5757
declare class PayPalPaymentDetails {
@@ -256,18 +256,18 @@ declare class PayPalConfiguration {
256256

257257
/**
258258
* For single payments, options for the shipping address.
259-
*
259+
*
260260
* - 0 - PayPalShippingAddressOptionNone: no shipping address applies.
261-
*
261+
*
262262
* - 1 - PayPalShippingAddressOptionProvided: shipping address will be provided by your app,
263263
* in the shippingAddress property of PayPalPayment.
264-
*
264+
*
265265
* - 2 - PayPalShippingAddressOptionPayPal: user will choose from shipping addresses on file
266266
* for their PayPal account.
267-
*
267+
*
268268
* - 3 - PayPalShippingAddressOptionBoth: user will choose from the shipping address provided by your app,
269269
* in the shippingAddress property of PayPalPayment, plus the shipping addresses on file for the user's PayPal account.
270-
*
270+
*
271271
* Defaults to 0 (PayPalShippingAddressOptionNone).
272272
*/
273273
payPalShippingAddressOption: number;
@@ -277,26 +277,26 @@ declare class PayPalConfiguration {
277277
* the SDK will remember the user's PayPal username or phone number;
278278
* if the user pays via their credit card, then the SDK will remember
279279
* the PayPal Vault token representing the user's credit card.
280-
*
280+
*
281281
* If set to false, then any previously-remembered username, phone number, or
282282
* credit card token will be erased, and subsequent payment information will
283283
* not be remembered.
284-
*
284+
*
285285
* Defaults to true.
286286
*/
287287
rememberUser: boolean;
288288

289289
/**
290290
* If not set, or if set to nil, defaults to the device's current language setting.
291-
*
291+
*
292292
* Can be specified as a language code ("en", "fr", "zh-Hans", etc.) or as a locale ("en_AU", "fr_FR", "zh-Hant_HK", etc.).
293293
* If the library does not contain localized strings for a specified locale, then will fall back to the language. E.g., "es_CO" -> "es".
294294
* If the library does not contain localized strings for a specified language, then will fall back to American English.
295-
*
295+
*
296296
* If you specify only a language code, and that code matches the device's currently preferred language,
297297
* then the library will attempt to use the device's current region as well.
298298
* E.g., specifying "en" on a device set to "English" and "United Kingdom" will result in "en_GB".
299-
*
299+
*
300300
* These localizations are currently included:
301301
* da,de,en,en_AU,en_GB,en_SV,es,es_MX,fr,he,it,ja,ko,nb,nl,pl,pt,pt_BR,ru,sv,tr,zh-Hans,zh-Hant_HK,zh-Hant_TW.
302302
*/
@@ -319,7 +319,7 @@ declare class PayPalConfiguration {
319319
/**
320320
* Sandbox credentials can be difficult to type on a mobile device. Setting this flag to true will
321321
* cause the sandboxUserPassword and sandboxUserPin to always be pre-populated into login fields.
322-
*
322+
*
323323
* This setting will have no effect if the operation mode is production.
324324
* Defaults to false.
325325
*/
@@ -385,18 +385,18 @@ interface PayPalConfigurationOptions {
385385

386386
/**
387387
* For single payments, options for the shipping address.
388-
*
388+
*
389389
* - 0 - PayPalShippingAddressOptionNone?: no shipping address applies.
390-
*
390+
*
391391
* - 1 - PayPalShippingAddressOptionProvided?: shipping address will be provided by your app,
392392
* in the shippingAddress property of PayPalPayment.
393-
*
393+
*
394394
* - 2 - PayPalShippingAddressOptionPayPal?: user will choose from shipping addresses on file
395395
* for their PayPal account.
396-
*
396+
*
397397
* - 3 - PayPalShippingAddressOptionBoth?: user will choose from the shipping address provided by your app,
398398
* in the shippingAddress property of PayPalPayment, plus the shipping addresses on file for the user's PayPal account.
399-
*
399+
*
400400
* Defaults to 0 (PayPalShippingAddressOptionNone).
401401
*/
402402
payPalShippingAddressOption?: number;
@@ -406,26 +406,26 @@ interface PayPalConfigurationOptions {
406406
* the SDK will remember the user's PayPal username or phone number;
407407
* if the user pays via their credit card, then the SDK will remember
408408
* the PayPal Vault token representing the user's credit card.
409-
*
409+
*
410410
* If set to false, then any previously-remembered username, phone number, or
411411
* credit card token will be erased, and subsequent payment information will
412412
* not be remembered.
413-
*
413+
*
414414
* Defaults to true.
415415
*/
416416
rememberUser?: boolean;
417417

418418
/**
419419
* If not set, or if set to nil, defaults to the device's current language setting.
420-
*
420+
*
421421
* Can be specified as a language code ("en", "fr", "zh-Hans", etc.) or as a locale ("en_AU", "fr_FR", "zh-Hant_HK", etc.).
422422
* If the library does not contain localized strings for a specified locale, then will fall back to the language. E.g., "es_CO" -> "es".
423423
* If the library does not contain localized strings for a specified language, then will fall back to American English.
424-
*
424+
*
425425
* If you specify only a language code, and that code matches the device's currently preferred language,
426426
* then the library will attempt to use the device's current region as well.
427427
* E.g., specifying "en" on a device set to "English" and "United Kingdom" will result in "en_GB".
428-
*
428+
*
429429
* These localizations are currently included:
430430
* da,de,en,en_AU,en_GB,en_SV,es,es_MX,fr,he,it,ja,ko,nb,nl,pl,pt,pt_BR,ru,sv,tr,zh-Hans,zh-Hant_HK,zh-Hant_TW.
431431
*/
@@ -448,7 +448,7 @@ interface PayPalConfigurationOptions {
448448
/**
449449
* Sandbox credentials can be difficult to type on a mobile device. Setting this flag to true will
450450
* cause the sandboxUserPassword and sandboxUserPin to always be pre-populated into login fields.
451-
*
451+
*
452452
* This setting will have no effect if the operation mode is production.
453453
* Defaults to false.
454454
*/
@@ -469,7 +469,7 @@ interface PayPalConfigurationOptions {
469469

470470
//#region cdv-plugin-paypal-mobile-sdk.js
471471

472-
declare module PayPalCordovaPlugin {
472+
declare namespace PayPalCordovaPlugin {
473473

474474
export interface PayPalClientIds {
475475
PayPalEnvironmentProduction: string;
@@ -545,7 +545,7 @@ declare module PayPalCordovaPlugin {
545545
* the recommended time to preconnect is on page load.
546546
*
547547
* @param environment available options are "PayPalEnvironmentNoNetwork", "PayPalEnvironmentProduction" and "PayPalEnvironmentSandbox"
548-
* @param configuration PayPalConfiguration object, for Future Payments merchantName, merchantPrivacyPolicyURL
548+
* @param configuration PayPalConfiguration object, for Future Payments merchantName, merchantPrivacyPolicyURL
549549
* and merchantUserAgreementURL must be set be set
550550
* @param completionCallback a callback function on success
551551
*/
@@ -592,15 +592,15 @@ declare module PayPalCordovaPlugin {
592592

593593
/**
594594
* Please Read Docs on Future Payments at https://github.com/paypal/PayPal-iOS-SDK#future-payments
595-
*
595+
*
596596
* @param completionCallback a callback function accepting a js object with future payment authorization
597597
* @param cancelCallback a callback function accepting a reason string, called when the user canceled without agreement
598598
*/
599599
renderFuturePaymentUI(completionCallback: (result: PayPalCordovaPlugin.FuturePaymentResult) => void, cancelCallback: (cancelReason: string) => void): void;
600600

601601
/**
602602
* Please Read Docs on Profile Sharing at https://github.com/paypal/PayPal-iOS-SDK#profile-sharing
603-
*
603+
*
604604
* @param scopes scopes Set of requested scope-values. Accepted scopes are: openid, profile, address, email, phone, futurepayments and paypalattributes
605605
* See https://developer.paypal.com/docs/integration/direct/identity/attributes/ for more details
606606
* @param completionCallback a callback function accepting a js object with future payment authorization

_debugger/_debugger.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/// <reference path="../node/node.d.ts"/>
77

8-
declare module NodeJS {
8+
declare namespace NodeJS {
99
export module _debugger {
1010
export interface Packet {
1111
raw: string;

ace/ace.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
// Definitions by: Diullei Gomes <https://github.com/Diullei>
44
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
55

6-
declare module AceAjax {
6+
declare namespace AceAjax {
77

88
export interface Delta {
99
action: string;

acorn/acorn.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
/// <reference path="../estree/estree.d.ts" />
77

8-
declare module acorn {
8+
declare namespace acorn {
99
var version: string;
1010
function parse(input: string, options?: Options): ESTree.Program;
1111
function parseExpressionAt(input: string, pos: number, options?: Options): ESTree.Expression;

adm-zip/adm-zip.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ declare module "adm-zip" {
216216
* @param targetPath Target location
217217
* @param overwrite If the file already exists at the target path, the file
218218
* will be overwriten if this is true. Default is FALSE
219-
* @param callback The callback function will be called afeter extraction
219+
* @param callback The callback function will be called afeter extraction
220220
*/
221221
extractAllToAsync(targetPath: string, overwrite: boolean, callback: (error: Error) => void): void;
222222
/**
@@ -233,7 +233,7 @@ declare module "adm-zip" {
233233
toBuffer(): Buffer;
234234
}
235235

236-
module AdmZip {
236+
namespace AdmZip {
237237
/**
238238
* The ZipEntry is more than a structure representing the entry inside the
239239
* zip file. Beside the normal attributes and headers a entry can have, the

0 commit comments

Comments
 (0)