Skip to content

Commit

Permalink
Update flow-bin to 0.61.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jfirebaugh committed Dec 13, 2017
1 parent c112237 commit a2f2fd3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
unsafe.enable_getters_and_setters=true

[version]
0.57.3
0.61.0
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"eslint-plugin-node": "^5.1.1",
"eslint-plugin-react": "^7.3.0",
"execcommand-copy": "^1.1.0",
"flow-bin": "^0.57.3",
"flow-bin": "^0.61.0",
"flow-coverage-report": "^0.3.0",
"flow-remove-types": "^1.0.4",
"github-slugger": "^1.1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/data/bucket/symbol_bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ function addVertex(array, anchorX, anchorY, ox, oy, tx, ty, sizeVertex) {
);
}

function addDynamicAttributes(dynamicLayoutVertexArray, p, angle) {
function addDynamicAttributes(dynamicLayoutVertexArray: StructArray, p: Point, angle: number) {
dynamicLayoutVertexArray.emplaceBack(p.x, p.y, angle);
dynamicLayoutVertexArray.emplaceBack(p.x, p.y, angle);
dynamicLayoutVertexArray.emplaceBack(p.x, p.y, angle);
Expand Down
6 changes: 3 additions & 3 deletions src/gl/value.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ class BindVertexArrayOES extends ContextValue implements Value<any> {
}
}

static equal(a, b): boolean {
static equal(a: any, b: any): boolean {
return a === b;
}
}
Expand Down Expand Up @@ -347,7 +347,7 @@ class ColorAttachment extends FramebufferValue implements Value<?WebGLTexture> {
gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, v, 0);
}

static equal(a, b): boolean {
static equal(a: ?WebGLTexture, b: ?WebGLTexture): boolean {
return a === b;
}
}
Expand All @@ -363,7 +363,7 @@ class DepthAttachment extends FramebufferValue implements Value<?WebGLRenderbuff
gl.framebufferRenderbuffer(gl.FRAMEBUFFER, gl.DEPTH_ATTACHMENT, gl.RENDERBUFFER, v);
}

static equal(a, b): boolean {
static equal(a: ?WebGLRenderbuffer, b: ?WebGLRenderbuffer): boolean {
return a === b;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/style-spec/expression/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ class StylePropertyFunction<T> {
}

static deserialize(serialized: {_parameters: PropertyValueSpecification<T>, _specification: StylePropertySpecification}) {
return new StylePropertyFunction(serialized._parameters, serialized._specification);
return ((new StylePropertyFunction(serialized._parameters, serialized._specification)): StylePropertyFunction<T>);
}

static serialize(input: StylePropertyFunction<T>) {
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4069,9 +4069,9 @@ flatten@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/flatten/-/flatten-1.0.2.tgz#dae46a9d78fbe25292258cc1e780a41d95c03782"

flow-bin@^0.57.3:
version "0.57.3"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.57.3.tgz#843fb80a821b6d0c5847f7bb3f42365ffe53b27b"
flow-bin@^0.61.0:
version "0.61.0"
resolved "https://registry.yarnpkg.com/flow-bin/-/flow-bin-0.61.0.tgz#d0473a8c35dbbf4de573823f4932124397d32d35"

flow-coverage-report@^0.3.0:
version "0.3.0"
Expand Down

0 comments on commit a2f2fd3

Please sign in to comment.