Add a type for the colour object
This commit is contained in:
parent
2530e90774
commit
36487500e1
1 changed files with 5 additions and 0 deletions
5
web-svelte/src/types/colour.d.ts
vendored
Normal file
5
web-svelte/src/types/colour.d.ts
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
interface Colour {
|
||||||
|
name: string;
|
||||||
|
hex: string;
|
||||||
|
taken: boolean;
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue