Closed berviantoleo closed 3 years ago
I'm not sure if this will enough, feel free to review this changes.
Updates: Ups, seems a library not support node 10.
Is it okay to upgrade into node 12/14 at the circle ci?
Great work!
Comments on it:
tsd
not using /test/types files ( i have changed a prop on test/types/index.test-d.ts to see if i got an error running tsd
and nothing is happening)resource: { id: 11 }
Should check id as string on resource, right? It seems tsd not using /test/types files ( i have changed a prop on test/types/index.test-d.ts to see if i got an error running tsd and nothing is happening)
How about now? I just change the rules and use expectError for checking.
it seems that it is not checking last param well, Now type let you add any other prop with content, but it is not checking type. Example: resource: { id: 11 } Should check id as string on resource, right?
Right, seems I am misunderstand about checking the resources id props. I've changed it now.
Well done!
Fix #161