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

Type rest of data directory #4933

Merged
merged 2 commits into from
Jul 5, 2017
Merged

Type rest of data directory #4933

merged 2 commits into from
Jul 5, 2017

Conversation

jfirebaugh
Copy link
Contributor

No description provided.

@jfirebaugh jfirebaugh requested a review from anandthakker July 3, 2017 20:52
Copy link
Contributor

@anandthakker anandthakker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Couple minor notes inline


+addFeature: (feature: VectorTileFeature) => void;

static deserialize(input: Array<SerializedBucket>, style: Style) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Return type : {[string]: Bucket}

constructor(options) {
static programInterfaces: {
['glyph' | 'icon' | 'collisionBox']: ProgramInterface
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we want { glyph: ProgramInterface, icon: ProgramInterface, collisionBox: ProgramInterface } here, so that all three are required.

@jfirebaugh jfirebaugh changed the base branch from type-vt to master July 5, 2017 15:55
@jfirebaugh jfirebaugh merged commit 6576121 into master Jul 5, 2017
@jfirebaugh jfirebaugh deleted the type-data branch July 5, 2017 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants