-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
YAML.parseAllDocuments is no longer accessible #863
Comments
This is related to TS case, right?
CC @antonmedv |
This is because we bundle yaml? |
Because we've omitted the API typings except |
But the parseAllDocuments code is still in the bundle? |
I have a workaround: installing the
Yes, so right now the typing is not showing the reality of what is being accessible. import { parse, stringify } from 'yaml'
export const YAML = {
parse,
stringify
} |
Correct. In js bundle. |
But why ts def grows so much? |
External contracts are derived from internal ones. There are actually many many types. |
but when changing from |
We've reverted this change: #879 |
Expected Behavior
https://stackblitz.com/edit/zx7-2-3-yaml?file=src/main.ts&terminal=dev
Actual Behavior
https://stackblitz.com/edit/zx-8-1-3-yaml?file=src/main.ts&terminal=dev
Steps to Reproduce
7.2.3
to8.1.3
.Specifications
The text was updated successfully, but these errors were encountered: