Closed KATT closed 8 months ago
Optional properties are inferred as omnipresent
rpc.register({ name: 'helloWorld', arguments: { name: { type: 'string', required: false }, }, implementation: async (args, context) => { args.name; // ❌ ^? this should be undefined | string }, });
Currently it is inferred as "string"
Optional properties are inferred as omnipresent
Currently it is inferred as "string"