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

Add template.Page() #196

Open
Tarmil opened this issue Oct 1, 2018 · 1 comment
Open

Add template.Page() #196

Tarmil opened this issue Oct 1, 2018 · 1 comment

Comments

@Tarmil
Copy link
Member

Tarmil commented Oct 1, 2018

This would be equivalent to:

Content.Page(template.Doc())
@Tarmil Tarmil added this to next minor in Releases Oct 4, 2018
@Tarmil
Copy link
Member Author

Tarmil commented Oct 4, 2018

Hmm, actually I just realized that this is (currently) not possible. The return type would have to be Content<'EndPoint>; but it is not possible to create a generic method on a type provider.

@Tarmil Tarmil removed this from next minor in Releases Oct 4, 2018
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