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

Enable implicit type assertions for array types #5700

Closed
jfirebaugh opened this issue Nov 17, 2017 · 0 comments
Closed

Enable implicit type assertions for array types #5700

jfirebaugh opened this issue Nov 17, 2017 · 0 comments
Assignees

Comments

@jfirebaugh
Copy link
Contributor

In #5698, I had to write:

        "text-font": [
          "array",
          "string",
          [
            "get",
            "text-font"
          ]
        ]

I wanted to be able to write:

        "text-font": [
          "get",
          "text-font"
        ]

Where the type assertion is inserted automatically by the implementation, as it would be for a scalar-typed style property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant