Join Slack
Powered by
I am looking for a way to type a class or interfac...
# general-advice
p
plantleaf
02/12/2024, 9:33 AM
I am looking for a way to type a class or interface method given a function type. The typescript equivalent would just be
Copy code
type MyFunctionType = () => void interface MyInterface { foo: MyFunctionType }
Open in Slack
Previous
Next