mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 23:37:04 +00:00
fix definition for getProperty to return string | null
This commit is contained in:
@@ -19,7 +19,7 @@ declare namespace GoogleAppsScript {
|
||||
deleteProperty(key: string): Properties;
|
||||
getKeys(): string[];
|
||||
getProperties(): Object;
|
||||
getProperty(key: string): string;
|
||||
getProperty(key: string): string | null;
|
||||
setProperties(properties: Object): Properties;
|
||||
setProperties(properties: Object, deleteAllOthers: boolean): Properties;
|
||||
setProperty(key: string, value: string): Properties;
|
||||
@@ -56,7 +56,7 @@ declare namespace GoogleAppsScript {
|
||||
deleteProperty(key: string): ScriptProperties;
|
||||
getKeys(): string[];
|
||||
getProperties(): Object;
|
||||
getProperty(key: string): string;
|
||||
getProperty(key: string): string | null;
|
||||
setProperties(properties: Object): ScriptProperties;
|
||||
setProperties(properties: Object, deleteAllOthers: boolean): ScriptProperties;
|
||||
setProperty(key: string, value: string): ScriptProperties;
|
||||
@@ -73,7 +73,7 @@ declare namespace GoogleAppsScript {
|
||||
deleteProperty(key: string): UserProperties;
|
||||
getKeys(): string[];
|
||||
getProperties(): Object;
|
||||
getProperty(key: string): string;
|
||||
getProperty(key: string): string | null;
|
||||
setProperties(properties: Object): UserProperties;
|
||||
setProperties(properties: Object, deleteAllOthers: boolean): UserProperties;
|
||||
setProperty(key: string, value: string): UserProperties;
|
||||
|
||||
Reference in New Issue
Block a user