Commit Graph

43 Commits

Author SHA1 Message Date
Sergei Dorogin
603a182210 handlebars: added partials/decorators fields and registerDecorator/unregisterDecorator methods (#14895) 2017-03-09 23:23:26 -08:00
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
2f71174636 Restructure to support old versions (#13811)
* Restructure to support old versions

* Fix tests
2017-01-06 12:36:57 -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
Nathan Shively-Sanders
9019823501 Merge branch 'master' into types-2.0-2016-08-10 2016-08-10 16:17:43 -07:00
Erik Krogh Kristensen
6c95a70c74 Updating handlebars to version 4, and filling in missing documentation. 2016-08-04 10:22:38 +02: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
33686b47c5 Lots of fixes 2016-05-04 16:30:29 -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
7de6c3dd94 Merge branch 'master' into rename-repo-url 2016-03-17 21:06:54 +09:00
vvakame
14fe4313f4 replace internal module to namespace 2016-03-17 02:18:10 +09: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
Chiyu Zhong
29171e8fbf fix handlebar also support register multiple helpers 2015-12-31 17:01:54 +08:00
gscshoyru
f91008d4cd Add unregister functions to handlebars.d.ts 2015-12-02 12:19:39 -05:00
Anthony Guo
f6d84e170d Add the helpers property to the Handlebars module 2015-09-09 16:41:38 -07:00
Calvin Fernandez
660e1252cd Update handlebars definition files for handlebars 3.0.3 2015-06-15 20:22:32 -04:00
Calvin Fernandez
cac474a0e2 Move handlebars to handlebars-1.0.0. 2015-06-15 20:21:26 -04:00
Simon Krajewski
29ebb788d0 replace nbsp by normal spaces 2015-03-10 10:04:00 +01:00
Igor Rogatty
7159e9a3dd Utils is a module, not class 2015-01-23 15:27:16 +01:00
Igor Rogatty
890265f436 Added definition for Handlebars.Utils.escapeExpression() 2014-10-27 17:12:20 +01:00
gscshoyru
adf02b7701 Add AST type definitions to handlebars.d.ts
Also put a module around the "SafeString" type to fix the compiler error.
2014-10-08 13:34:18 -04:00
Steve Fenton
e911b3c061 Added extensibility point for templates.
This allows named templates to be added, for example:

    interface HandlebarsTemplates {
        specialListOfThings: HandlebarsTemplateDelegate;
    }

So the strongly typed version can be used.

    var template = Handlebars.templates.specialListOfThings;
2014-07-25 08:15:51 +01:00
Daniel Rosenwasser
e086199310 Removed type queries used on interface members.
typeof cannot be used on members within an interface.
It is currently permitted due to bug in the TypeScript compiler.
2014-05-09 17:30:48 -07:00
Omid K. Rad
1975cba549 Added definitions for Handlebars Runtime 2014-04-21 11:34:44 -07:00
Steven
b8e5189925 Changing the context param to be OPTIONAL
The compile function returns a template function. The template function takes two parameters, `context` and `options`. These are both optional parameters. This commit fixes `context` to be optional.
2014-01-23 16:08:20 -08:00
Igor Oleinikov
4fce4a3a03 handlebars: fixed tests 2013-12-22 14:22:32 +04:00
Jed Hunsaker
a63e5a7e1e Fix Ember/Handlebars 2013-12-14 14:21:00 -06:00
Derek Cicerone
4f3546a1e5 Fix noImplicitAny in handlebars.d.ts
* diff from the previous change is on line 20 - "options" needed to be optional
2013-10-03 12:11:32 -04:00
Jed Hunsaker
e385702968 Fix Ember and Handlebars 2013-09-22 11:16:35 -07:00
Derek Cicerone
555d0f5c5f Replace bool with boolean (for TypeScript 0.9.0+) 2013-07-01 19:10:05 -04: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
Boris Yankov
7c82efb17a Update reference paths 2012-11-19 01:28:08 +02:00
Boris Yankov
c91c45f9ae Move definitions and test in separate folders
This enables each definition to have a readme if necessary.
Also a .json metadata file to help with package managers.
And last, to have different versions of the definitions.
2012-11-18 22:28:44 +02:00