deno
deno copied to clipboard
Not confuse with export and import when importing a function
Could the compiler warn us when we type
// We type export instead of import
export { toto } from "./deps.ts"
function (){
..
toto() // => say doesn't exists => can warn us of the confusion btw export and import
...
}
and say instead : "you declare an export => do you want import instead ?"