add(consumer) teal
This commit is contained in:
parent
5eb06ccafb
commit
dac8260ea9
|
@ -1,3 +0,0 @@
|
|||
local calculon = require "calculon"
|
||||
|
||||
print(calculon.add(1, 2))
|
|
@ -0,0 +1,8 @@
|
|||
local record Calculon
|
||||
add: function(number, number):number
|
||||
end
|
||||
|
||||
local _require = require
|
||||
local calculon = _require("calculon") as Calculon
|
||||
|
||||
print(calculon.add(1, 2))
|
|
@ -0,0 +1,4 @@
|
|||
return {
|
||||
build_dir = "build",
|
||||
source_dir = "src",
|
||||
}
|
Loading…
Reference in New Issue