mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Update types/custom-functions-runtime/custom-functions-runtime-tests.ts
Co-Authored-By: mscharlock <mischarl@microsoft.com>
This commit is contained in:
parent
cf37cd3db8
commit
ef65c00a42
@ -3,7 +3,7 @@ function add10(n: number) {
|
||||
return n + 10;
|
||||
}
|
||||
|
||||
CustomFunctions.Associate('ADD10', add10);
|
||||
CustomFunctions.associate('ADD10', add10);
|
||||
|
||||
async function getStockValues(ticker: string): Promise<number> {
|
||||
const response = await fetch(`myService.com/prices/${ticker}`);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user