Commit Graph

31 Commits

Author SHA1 Message Date
Andy
555ea54770 Lint test files too (#14791) 2017-02-23 07:15:16 -08:00
Arne Schubert
876977386d do not export internal interface DirectGeometryObject 2017-01-30 19:25:53 +01:00
Arne Schubert
8fda71eada set no-single-declare-module to false in tslint.json 2017-01-28 11:09:19 +01:00
Arne Schubert
8f325c6f72 Remove the unneccesary import in test 2017-01-27 18:23:21 +01:00
Arne Schubert
16e5b26b3d Refactor td for leaflet and geojson 2017-01-27 17:22:50 +01: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
andreas-1
803dacaf1c added module declaration (#13900)
added module declaration to support module resolution in development tools
2017-01-13 10:49:13 -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
Ryan Cavanaugh
c73630c9a3 Merge commit 'upstream/master~400' into merge_7_25
# Conflicts:
#	angular-translate/angular-translate.d.ts
#	knex/knex.d.ts
#	redux-logger/index.d.ts
#	simplestorage.js/index.d.ts
#	underscore/underscore.d.ts
#	yargs/yargs.d.ts
2016-07-26 13:53:00 -07:00
Ryan Cavanaugh
5e9440c8ad Merge commit 'upstream/master~700' into merge_7_25
# Conflicts:
#	angular-ui-router/angular-ui-router.d.ts
#	bookshelf/bookshelf-tests.ts
#	bookshelf/bookshelf.d.ts
#	enzyme/enzyme-tests.tsx
#	enzyme/enzyme.d.ts
#	escodegen/escodegen-tests.ts
#	helmet/helmet.d.ts
#	joi/joi.d.ts
#	knex/knex-tests.ts
#	moment/index.d.ts
#	mongoose/index.d.ts
#	pg/pg.d.ts
#	react-select/react-select-tests.tsx
#	soap/index.d.ts
#	ssh2/ssh2.d.ts
#	turf/turf-tests.ts
#	underscore.string/underscore.string.d.ts
2016-07-25 16:10:34 -07: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
psnider
29708b6a46 Geojson (#9702)
* Added Error to support stack

* initial seneca.d.ts

* Changed type of Position to be compatible with other packages

such as turf
2016-06-19 12:43:23 +09:00
Max Battcher
ccf227b5a8 Add explicit string types to GeoJson definition (#9333)
* Add explicit string types to GeoJson definition

The type names for each interface are explicit in the GeoJson spec and this uses recent TypeScript support for string valued types to make this much more obvious and to check this for us.

* Add explicit type hints to turf tests

Shape-based inferencing in Typescript does not currently appear to support string literal types in TS 1.8.
2016-05-15 02:42:38 +09: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
Yukiya Nakagawa
b9faee43fd fix test 2016-03-20 01:46:42 +09:00
Yukiya Nakagawa
1d3dd1edee Update GeoJSON definition with generics 2016-03-19 23:36:02 +09: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
Daniel Rosenwasser
e55d1b91f9 Changed parameter type to allow 'GeoJSON.Feature' objects in 'polyline'. 2015-09-01 15:19:35 -07:00
Jake Bruun
63cd88fcf3 Fixed formatting 2014-05-13 23:20:07 -07:00
Jake Bruun
44c5608942 Fixed formatting 2014-05-13 23:18:57 -07:00
Jake Bruun
d50b504e5e Create declaration file for GeoJSON spec. 2014-05-13 23:14:42 -07:00