We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Description:
Change the SDK interface so that TypeScript users can use the type system better.
type Model = { k1: Array<number>; k2: yorkie.Array<string>; k3: {key: string}; k4: yorkie.Object<{key: string}>; k5: yorkie.Text; k6: yorkie.RichText; } const doc = new yorkie.Document<Model>('doc-key'); doc.update((root) => { root.k1 = [1,2,3]; root.k2 = new yorkie.Array<string>(); root.k3 = {key: 'abcd'}; root.k4 = new yorkie.Object<{key: string}>({key: 'abcd'}); root.k5 = new yorkie.Text(); root.k6 = new yorkie.RichText(); });
This issue is a follow-up to #289..
Why:
The text was updated successfully, but these errors were encountered:
createXXX
new XXX
This was resolved by #299, #300.
Sorry, something went wrong.
No branches or pull requests
Description:
Change the SDK interface so that TypeScript users can use the type system better.
This issue is a follow-up to #289..
Why:
The text was updated successfully, but these errors were encountered: