Add stub to get started
This commit is contained in:
parent
49979c2072
commit
12fc26fa44
1 changed files with 18 additions and 0 deletions
18
javascript/interpret.ts
Normal file
18
javascript/interpret.ts
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
const interpret = (definitionFile, tags) => {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const example = interpret({
|
||||||
|
"highway": {
|
||||||
|
"residential": 1.2
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"highway": "residential"
|
||||||
|
|
||||||
|
})
|
||||||
|
|
||||||
|
console.log("Expect", 1.2, "got", example)
|
Loading…
Add table
Add a link
Reference in a new issue