Skip to content

typechecked islands #33

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

Merged
merged 4 commits into from
Feb 20, 2023
Merged

typechecked islands #33

merged 4 commits into from
Feb 20, 2023

Conversation

danprince
Copy link
Owner

There no type safety for the callsites of islands when they're written inside markdown as liquid shortcodes.

This PR translates all of the calls from the current build into actual TypeScript syntax and writes it to a @check.ts file that can be verified once the Eleventy build has finished.

Important to change the build ordering so that tsc is called after eleventy from now on.

@danprince danprince changed the base branch from master to islands-experiments February 12, 2023 08:36
@danprince danprince changed the base branch from islands-experiments to master February 12, 2023 08:36
@danprince danprince marked this pull request as ready for review February 12, 2023 09:05
@danprince danprince merged commit d180180 into master Feb 20, 2023
@danprince danprince deleted the typechecked-islands branch February 20, 2023 05:24
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.

1 participant