-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert codebase to Typescript #114
Merged
+1,349
−1,226
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
9da425e
Setup typescript and start converting component
alex3165 082a0b8
Convert all files to ts
alex3165 a14c00a
Add missing files
alex3165 d6f54f4
Convert popup and map to typescript, start layer
alex3165 b9d1209
Convert all components
alex3165 777b42c
Fix overlays
alex3165 bab35ca
Fix all typings
alex3165 e67284d
Add declaration files to build
alex3165 1a6ce24
Move source to ts
alex3165 dadd1d9
Add correct configuration
alex3165 d05f8de
Fix small error and add build wathc
alex3165 a86fc7d
Fix tests and lint
alex3165 0186822
Fix scale control
alex3165 1bd8dc5
Fix from merge of source update
alex3165 db173f6
Improve readme file
alex3165 5ba2483
Improve readme again
alex3165 ec97fb7
Target es5 and switch from find to filter
alex3165 d78a016
Fix typescript, fix feature geojson object to the standard in the mea…
alex3165 425de49
Switch to real typescript package
alex3165 2ea4e37
Remove node types and introduce custom any types
alex3165 8b8fb1d
Fix lint
alex3165 9cc651e
Fix some types in cluster
alex3165 2d40152
Fix coordinates typings
alex3165 9bb5f83
Killed suppressImplicitAnyIndexErrors with :fire:
alex3165 61cd6d6
Fix css.ts
alex3165 5632416
Disable multiline only in cluster
alex3165 bd023a8
Remove missing suppressImplicitAnyIndexErrors
alex3165 563ccd1
Add back suppressImplicitAnyIndexErrors
alex3165 fca4a09
Fix remaining type issues
alex3165 6263da1
Fix deep-equal
alex3165 fada71a
Fix critical types
alex3165 74118f5
Improve readme
alex3165 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,17 @@ | ||
var WebpackDevServer = require('webpack-dev-server') | ||
var webpack = require('webpack') | ||
var config = require('./webpack.config') | ||
var WebpackDevServer = require('webpack-dev-server'); | ||
var webpack = require('webpack'); | ||
var config = require('./webpack.config'); | ||
|
||
var compiler = webpack(config) | ||
var port = 8080; | ||
var port = 8081; | ||
var host = 'localhost'; | ||
|
||
var server = new WebpackDevServer(compiler, { | ||
publicPath: config.output.publicPath, | ||
historyApiFallback: true, | ||
noInfo: true | ||
noInfo: true, | ||
}) | ||
|
||
server.listen(port, host, function() { | ||
console.log(`☕️ Server is listening on http://${host}:${port}.`); | ||
}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you remove every
require
you don't need this anymore (+ it's a bit overkill to add node types definition just for require)