message: fix getSecret and require error in code editor
diff: @@ -107,9 +107,8 @@ export default function CodeEditor(props: any) {
  " */",
  `function sendEmail(msg:{from: string,
  templateId:string,
  - personalizations:{to:string,dynamic_template_data:any}[]}):void {
  -
  - }`,
  + personalizations:{to:string,dynamic_template_data:any}[]}):void {}`,
  + `async function getSecret(name: string, v?: string):any {}`,
  "}",
  ].join("\n"),
  "ts:filename/utils.d.ts"
  @@ -334,6 +333,7 @@ export default function CodeEditor(props: any) {
  monacoInstance.languages.typescript.javascriptDefaults.addExtraLib(
  [
  + " declare var require: any;",
  " const db:FirebaseFirestore.Firestore;",
  " const auth:adminauth.BaseAuth;",
  "declare class row {",
  