Andy
ae4fe7b6de
Use "lib" in tsconfigs instead of "target". ( #13968 )
...
* Use "lib" in tsconfigs instead of "target".
Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.
* Update new-package and readme
* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
Andy
76a710cc94
Rename test files to be consistent ( #13882 )
2017-01-10 06:33:06 -08:00
Andy
a4bd9fa3c1
Add "noImplicitThis" to all tsconfig.json ( #13446 )
...
* Add "noImplicitThis" to all tsconfig.json
* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Andy Hanson
91d1d6d60f
Merge remote-tracking branch 'origin/master' into merge_21sep
2016-09-21 09:45:05 -07:00
Marc
66c9d1c4ba
Fix asked by andy-ms
2016-09-19 14:56:14 -04:00
Marc
d34c7a7cdd
requirejs.RequireConfig
...
Add a missing signature for urlArgs property of the RequireConfig
object.
2016-09-13 10:35:48 -04:00
Ryan Cavanaugh
a5f4d50ccc
Fix tsconfig files for new option name / behavior.
...
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639
Turning on consistent casing flag and fixing failures
2016-06-30 15:14:49 -07:00
Ryan Cavanaugh
bfd400a8f8
Add noEmit to all config files
2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
e808e8e062
Remove unneeded references
2016-05-10 12:22:25 -07:00
Ryan Cavanaugh
50387d4046
Change relative reference paths to types references. Errors incoming...
2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38
Rename all entry points to index.d.ts and explicitify all file lists
2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5
Add typesRoot to all config files
2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be
Turn off strict null checks
2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a
Add tsconfig.json files
2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
e7c111c4b7
Merge remote-tracking branch 'upstream/master' into types2.0
...
Add tsconfig files everywhere
# Conflicts:
# azure-mobile-services-client/AzureMobileServicesClient.d.ts
# bookshelf/bookshelf.d.ts
# hapi/hapi.d.ts
# helmet/helmet.d.ts
# mongodb/mongodb.d.ts
# nock/nock.d.ts
# react-bootstrap/react-bootstrap.d.ts
# react-helmet/react-helmet.d.ts
# restify/restify.d.ts
# sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
vvakame
56295f5058
replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped
2016-03-17 00:55:26 +09:00
vvakame
4de74cb527
normalize line ending (CRLF -> LF)
2016-02-16 01:20:30 +09:00
Poul Kjeldager Sørensen
853544cb70
Removed requirejs.d.ts double definition of bundles.
2015-10-24 14:57:36 +02:00
Masahiro Wakame
d4c83f1c8d
Merge pull request #5798 from alvarorahul/master
...
Add bundles, skipDataMain and onNodeCreated
2015-10-21 22:41:57 +09:00
Lionel Besson
0d39cb0d41
Add bundles configuration item
...
bundles option was added in 2.1.10 c3d5f33a6a
2015-10-08 19:46:15 +02:00
Jesse Schalken
0fc180b15b
Fix typo
2015-09-16 11:23:39 +10:00
Alvaro Dias
6a02cedcf0
Add bundles, skipDataMain and onNodeCreated
2015-09-13 04:59:58 -07:00
Kenneth G. Franqueiro
7c374bf1e5
Fix whitespace in requirejs typings/tests
2015-06-14 11:40:06 -04:00
Kenneth G. Franqueiro
9b073d0f81
Fix #4620 : Add module declaration for 'module' magic module
2015-06-14 01:22:13 -04:00
Sergey Zarouski
90240e975b
Add comments for define.amd property
...
Add comments for define.amd property
2014-07-02 23:05:31 -04:00
Sergey Zarouski
08620066d4
Add amd property to define
...
Add static amd property to define function.
2014-07-02 22:20:58 -04:00
Paweł Stroiński
74781f59c5
Add defined and specified
2014-05-30 19:11:11 +01:00
Paweł Stroiński
74ba04beb3
Add dependency-less define overload
2014-04-03 00:32:35 +01:00
Michael Cox
d410565fe1
Add RequireJS 'errback' signature
2014-01-27 10:35:57 +00:00
Bartvds
709a0363a0
added/fixed headers o-s
...
https://github.com/borisyankov/DefinitelyTyped/issues/1570
2014-01-24 01:56:27 +01:00
Igor Oleinikov
4070ed0e79
requirejs: fixed test
2013-12-19 19:46:26 +04:00
Brett Postin
bb1fbec552
Update to resolve issue #1434
...
Alternative fix as suggested here:
https://github.com/borisyankov/DefinitelyTyped/pull/1435
2013-12-13 10:11:18 +00:00
Derek Cicerone
fe4b190435
Fix future bug in require.d.ts
...
Callbacks need to use 'Function' if the arguments to it aren't known ahead of time - see discussion here: https://typescript.codeplex.com/discussions/462819
2013-10-24 19:10:25 -04:00
Tiddo Langerak
a14182b018
Added support for the CommonJS require call
2013-10-15 07:37:49 +02:00
Tiddo Langerak
0df63c1ab3
Requirejs should also accepts an array for path values.
...
According to https://github.com/jrburke/requirejs/wiki/Upgrading-to-RequireJS-2.0#wiki-pathsfallbacks requirejs also accepts arrays as path values. Therefore, the type of path values is changed from string to any.
2013-10-14 14:46:58 +02:00
Maxime LUCE
58fd5b0188
Append global var requirejs
2013-09-06 19:39:31 +02:00
jbaldwin
7f6a9c0184
Updated onError in require.d.ts
2013-08-24 16:25:57 -06:00
jbaldwin
6577db67c7
Fixed issues from pull request on DefinitelyTyped
...
Removed sugar-tests.ts, it has an encoding problem that I need to fix (
uses non-ascii characters and the TS compiler chokes on them)
2013-08-20 20:40:12 -06:00
jbaldwin
f6c5a200e5
Upgraded jbaldwin projs to 0.9.1.0
2013-08-19 16:19:56 -06:00
basarat
d9ffc0a135
bool -> boolean
2013-08-07 10:02:12 +10:00
Diullei Gomes
680f2fa69b
Bug fix - #764 'require.config(...)' should return type 'Require'
2013-07-11 20:33:29 -03:00
bczengel
9c881d8f6f
Added "amd" property definition to RequireDefine
2013-05-08 17:23:42 -04:00
Diullei Gomes
6fb8560a58
resolved conflicts to pullrequest #442
2013-04-03 08:53:04 -03:00
Michael Miller
e5810509e7
Make require.js variable declarations ambient.
2013-02-12 19:26:31 -05:00
Boris Yankov
209d95071a
Update reference paths
2013-01-17 20:03:30 +02:00
Boris Yankov
c98eebb137
Rename all definition files, remove versions
2013-01-17 17:17:27 +02:00
David Driscoll
667699abc2
Updated RequireJS def to handle error callbacks
...
Updated RequireJS definition to support error callbacks.
In addition it exposes a RequireError interface, with the potential values of the param passed to the error callback.
Also added overload for require(module : string), so that require can potentially be used inline mod.
2012-12-30 12:32:12 -07:00
Boris Yankov
7c82efb17a
Update reference paths
2012-11-19 01:28:08 +02:00
Boris Yankov
51170ff0d7
Add readme for requre.js
2012-11-18 23:18:21 +02:00