Skip to content

yarn run codegen fails with unknown type #8958

Closed

Description

@ansis

yarn run codegen fails starting with a9e2c30

mapbox-gl-js version: master

browser: n/a

Steps to Trigger Behavior

  1. git checkout a9e2c30
  2. yarn run codegen

Link to Demonstration

n/a

Expected Behavior

Codegen runs.

Actual Behavior

Codegen fails:

$ build/run-node build/generate-style-code.js && build/run-node build/generate-struct-arrays.js
Error: ejs:52
            return `CrossFadedProperty<${flowType(property)}>`;

    50| export type PaintProps = {|
    51| <% for (const property of paintProperties) { -%>
 >> 52|     "<%= property.name %>": <%- propertyType(property) %>,
    53| <% } -%>
    54| |};
    55| <% } else{ %>

unknown type for fill-pattern

cc @ryanhamley

Activity

  1. added a commit that references this issue on Nov 8, 2019
    73a872d
  2. added a commit that references this issue on Nov 11, 2019
    0abe854
  3. added a commit that references this issue on Apr 30, 2020
    7296a81
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions