instantiate -> create
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Julien Valverdé
2024-01-28 16:36:02 +01:00
parent d867a3b83a
commit 9ba149fb4c
3 changed files with 8 additions and 8 deletions

View File

@@ -12,7 +12,7 @@ class Test extends ZodSchemaClass({
}) {}
Test.defaultValues
const inst = await Test.instantiatePromise({ id: 1n, name: "" })
const inst = await Test.createPromise({ id: 1n, name: "" })
class SubTest extends Test.extend({
@@ -25,7 +25,7 @@ class SubTest extends Test.extend({
}),
}) {}
const subInst = await SubTest.instantiatePromise({ name: "", prout: "" })
const subInst = await SubTest.createPromise({ name: "", prout: "" })
console.log(subInst)