mirror of
https://github.com/simple-icons/simple-icons.git
synced 2024-12-16 01:10:30 +02:00
Add TypeScript usage to README (#2675)
This commit is contained in:
parent
aef12f51e6
commit
c6af93f240
10
README.md
10
README.md
@ -76,7 +76,15 @@ console.log(icon);
|
|||||||
*/
|
*/
|
||||||
```
|
```
|
||||||
|
|
||||||
### PHP usage
|
#### TypeScript Usage
|
||||||
|
|
||||||
|
There are also TypeScript type definitions for the Node package. To use them, simply run:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ npm install @types/simple-icons
|
||||||
|
```
|
||||||
|
|
||||||
|
### PHP Usage
|
||||||
|
|
||||||
The icons are also available through our Packagist package. To install, simply run:
|
The icons are also available through our Packagist package. To install, simply run:
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user