Typescript types in Javascript
shubhankar-mern opened this issue · comments
@labnol you are not using typescript then how come using @types/google-apps-script give you suggestions in your ide??https://youtu.be/KxdCIbeO4Uk?t=1174 ?? how?
i found the answer. ``/**
- @type {import("@types/google-apps-script")}
*/
const onOpen = () =>{
SpreadsheetApp.getUi();
}`` add the above comment.. and u will get typescript types in javascript.
closing doubt