Skip to content
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

TypeScript declarations! #1320

Merged
merged 49 commits into from
Mar 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
9fdb697
remove typescript machinery
mbostock Mar 7, 2023
e802a1c
checkpoint typescript declarations
mbostock Mar 8, 2023
58d8c83
restore mocha and eslint for typescript
mbostock Mar 8, 2023
f37aa91
tweak package.json
mbostock Mar 8, 2023
36ffd71
port tests to TypeScript
mbostock Mar 8, 2023
7363bd0
fix plural inconsistency
mbostock Mar 8, 2023
1d328ab
more better types
mbostock Mar 8, 2023
449876d
allow empty interfaces, for now
mbostock Mar 8, 2023
8aa9d3e
fix plural test
mbostock Mar 8, 2023
f56d7d5
remove jsdoc annotations
mbostock Mar 8, 2023
6b8a342
fix test names, again
mbostock Mar 8, 2023
78acbd4
export all types
mbostock Mar 8, 2023
4844b22
remove build
mbostock Mar 9, 2023
240beee
more better types
mbostock Mar 9, 2023
dac8055
add missing exports
mbostock Mar 9, 2023
b125622
RenderFunction, strict
mbostock Mar 9, 2023
575a137
more better types
mbostock Mar 9, 2023
8a66f3a
more better transform types
mbostock Mar 9, 2023
0b7a368
more better types
mbostock Mar 10, 2023
b7a8547
more better types
mbostock Mar 10, 2023
3d3a99b
still more better types
mbostock Mar 10, 2023
661153a
Merge branch 'main' into mbostock/typescript
mbostock Mar 10, 2023
697a3f4
quantize, quantile scale options
mbostock Mar 10, 2023
f3a538a
nullish markish
mbostock Mar 10, 2023
2e0e67e
more better types
mbostock Mar 10, 2023
d7bddd8
even more better types
mbostock Mar 11, 2023
57cbf06
avoid name conflicts with types
mbostock Mar 11, 2023
cc7fb9b
still more better types
mbostock Mar 11, 2023
85281f1
unstrict
mbostock Mar 11, 2023
18666d4
allow cased color scheme names
mbostock Mar 11, 2023
ccbd45c
more better types
mbostock Mar 11, 2023
3ee5074
more documentation; ScaleDefaults
mbostock Mar 12, 2023
7f8d99f
turn off data type checking
mbostock Mar 12, 2023
b3ba7eb
fix remaining TypeScript errors; enable tsc
mbostock Mar 12, 2023
f7f5b62
auto types
mbostock Mar 12, 2023
18b04c2
stricter lint
mbostock Mar 12, 2023
c618ddb
better line, area options, and more
mbostock Mar 13, 2023
722dc12
more documentation
mbostock Mar 13, 2023
38cbaf6
Merge branch 'main' into mbostock/typescript
mbostock Mar 13, 2023
5267f96
linearRegression[XY] dense interval
mbostock Mar 13, 2023
ec9356e
stricter percentile
mbostock Mar 13, 2023
ea2a87b
better bar, rect intervals
mbostock Mar 13, 2023
78e574c
more percentiles
mbostock Mar 13, 2023
22068d5
more interval types
mbostock Mar 13, 2023
12f4cc4
tree, valueof, column
mbostock Mar 13, 2023
2017082
style, className
mbostock Mar 13, 2023
1d5c4d9
comment re. omit interval
mbostock Mar 13, 2023
be0bb08
autocomplete stack order
mbostock Mar 13, 2023
e01e28e
z for stack, map, select
mbostock Mar 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"no-sparse-arrays": 0,
"no-unexpected-multiline": 0,
"@typescript-eslint/no-empty-function": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-this-alias": 0,
"@typescript-eslint/no-unused-vars": ["error", {"ignoreRestSiblings": true}]
}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
echo ::add-matcher::.github/eslint.json
yarn run eslint src test --format=compact
- run: yarn run prettier --check src test
- run: yarn test
- run: yarn test:mocha
- name: Test artifacts
uses: actions/upload-artifact@v3
if: failure()
Expand Down
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
.DS_Store
build/
dist/
types/
node_modules/
test/output/*-changed.svg
test/output/*-changed.html
tsconfig.tsbuildinfo
yarn-error.log
Loading