Skip to content

Commit a8984ac

Browse files
evstinikNikita Evstigneev
andauthored
Issue 74: Fixed type of getLineWidth (RGBAColor -> number) in ScatterplotLayerProps. Also added yarn.lock to gitignore. (#77)
Co-authored-by: Nikita Evstigneev <[email protected]>
1 parent 832a0e9 commit a8984ac

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,4 +61,5 @@ typings/
6161
.next
6262

6363
# ignore for now
64-
package-lock.json
64+
package-lock.json
65+
yarn.lock

deck.gl__layers/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ declare module '@deck.gl/layers/scatterplot-layer/scatterplot-layer' {
348348
getColor?: ((d: D) => RGBAColor) | RGBAColor;
349349
getFillColor?: ((d: D) => RGBAColor) | RGBAColor;
350350
getLineColor?: ((d: D) => RGBAColor) | RGBAColor;
351-
getLineWidth?: ((d: D) => RGBAColor) | RGBAColor;
351+
getLineWidth?: ((d: D) => number) | number;
352352
}
353353
export default class ScatterplotLayer<D> extends Layer<D> {
354354
constructor(props: ScatterplotLayerProps<D>);

0 commit comments

Comments
 (0)