CodeX
Published in

CodeX

Static Methods Not Supported in TypeScript Interfaces

For the time being

Photo by zengxiao lin on Unsplash

Hey there, how are things going? Let me show you how similar PHP and TypeScript may be in terms of what’s called an “interface” in object-oriented programming. This is the second post in the series “Why TypeScript and PHP Are Good Friends” where we’re transcribing a complex PHP codebase into TypeScript.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store