Added codeowners and updated comments in custom-functions-runtime (#29482)

* added codeowners and updated comments in CF-runtime

* fixing whitespace issues
This commit is contained in:
Michelle Scharlock
2018-10-08 14:32:34 -07:00
committed by Andy
parent 49281a8e99
commit 0979551474
3 changed files with 15 additions and 4 deletions

4
.github/CODEOWNERS vendored
View File

@@ -725,6 +725,7 @@
/types/cucumber/ @abraaoalves @jan-molak @isoung @BendingBender @ErikSchierboom
/types/currency-formatter/ @mhegazy @davidmpaz
/types/custom-error-generator/ @thmiceli
/types/custom-functions-runtime/ @OfficeDev @Zlatkovsky @mscharlock @kbrandl
/types/cwise/ @taoqf
/types/cwise-compiler/ @taoqf
/types/cwise-parser/ @taoqf
@@ -3132,7 +3133,8 @@
/types/oclazyload/ @rolandzwaga
/types/odata/ @janhommes @jcchalte
/types/ofe/ @Morfent
/types/office-js/ @OfficeDev @LanceEA @Zlatkovsky @kbrandl @Rick-Kirkham @AlexJerabek @ElizabethSamuel-MSFT
/types/office-js/ @OfficeDev @LanceEA @Zlatkovsky @kbrandl @Rick-Kirkham @AlexJerabek @ElizabethSamuel-MSFT @mscharlock
/types/office-runtime/ @OfficeDev @mscharlock @kbrandl @Zlatkovsky
/types/offline-js/ @cgwrench
/types/oibackoff/ @geoffreak
/types/oidc-token-manager/ @rosieks

View File

@@ -3,7 +3,7 @@ function addTen(n: number) {
return n + 10;
}
/*Assume that the function id for addTen in the function's JSON metadata is specified as ADDTEN. */
/* Assume that the function id for addTen in the function's JSON metadata is specified as ADDTEN. */
CustomFunctionMappings.ADDTEN = addTen;
async function getStockValues(ticker: string): Promise<number> {

View File

@@ -10,15 +10,24 @@ Copyright (c) Microsoft Corporation
*/
/**
* Specific to Excel Custom Functions. Enables you to set key-value pairs (a function's JSON id : JavaScript name).
* Specific to Excel Custom Functions.
* Enables you to set key-value pairs which map
* a function's id in the JSON metadata to the JS function name.
* @beta
*/
declare let CustomFunctionMappings: { [key: string]: Function };
/**
* CustomFunctions namespace, used by Excel Custom Functions
* @beta
*/
declare namespace CustomFunctions {
/**
* StreamingHandler interface
* A handler passed automatically as the last parameter
* to a streaming function. With this parameter, a
* function can use handler.setResult to set a cell value
* or hook into the handler.onCanceled event to
* to handle what happens when the function stops streaming.
* @beta
*/
interface StreamingHandler<T> extends CancelableHandler {
/**