Andy Hanson
21065fcb6b
Enable "esModuleInterop" in all tsconfigs
2018-02-05 09:49:31 -08:00
Benny van Reeven
dbd47980a3
Add documentation for typed languages
2017-12-10 22:57:58 +01:00
Benny van Reeven
df07164f81
Add support for typed languages
...
By defining a type such as the following:
type MyLanguageSpec = {
FooRule: Foo;
BarRule: Bar;
StringRule: string;
}
and passing that as the type parameter to createLanguage, both the
resulting language and the language passed into every parser rule will
be typed.
2017-12-09 18:42:10 +01:00
Benny van Reeven
4e800c3dc5
Add tests for createLanguage and fix Rule
2017-12-09 17:05:11 +01:00
Benny van Reeven
f9388a931a
Enable strictNullChecks for parsimmon and fix tests
2017-12-09 16:51:55 +01:00
Christoph Koerner
b60a11e605
fix lint errors
2017-11-19 12:55:00 +01:00
chaosmail
bc1743cd4b
add createLanguage, Parser.trim and Parser.thru
2017-11-19 12:26:41 +01:00
karak
06646ec23d
Fixed custom parsers feature.
...
The return type of actions, so called "Reply", should be different from that of parsers.
2017-11-09 21:13:31 +09:00
Andy
947a8fb761
Enable strictFunctionTypes ( #20373 )
2017-10-06 14:03:03 -07:00
Andy
d74806eb3d
Add lint disables for no-unnecessary-generics ( #19508 )
2017-09-01 08:34:37 -07:00
Andy
5d6c651a1a
Apply stricter lint rules ( #19063 )
2017-08-17 14:53:41 -07:00
Leonard Thieu
88f8173559
[parsimmon] Update type definitions ( #16790 )
...
* Update type definitions for parsimmon.
* dtslint bug workaround.
2017-06-01 12:08:03 -07:00
Andy
bbc61fbf93
Extend "dtslint/dt.json" directly instead of "../tslint.json". ( #15822 )
...
* Extend "dtslint/dt.json" directly instead of "../tslint.json".
* Convert more "../tslint.json" to "dtslint/dt.json"
* no-redundant-modifiers -> strict-export-declare-modifiers
2017-04-14 08:04:05 -07:00
Andy
ff0d451b56
Fix various lint errors ( #15529 )
2017-03-30 15:33:16 -07:00
Andy Hanson
f96c1c5d92
Apply new lint rules to more files
2017-03-27 10:41:22 -07:00
Andy Hanson
354cec620d
Move all packages to a types directory
2017-03-24 14:27:52 -07:00