You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Decided to rename to `AblyObjectsTypes` to avoid using a generic name
like `ObjectsTypes` in a global namespace, see [1]
[1] ably/ably-js#2007 (comment)
Copy file name to clipboardExpand all lines: content/liveobjects/typing.textile
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -14,11 +14,11 @@ blang[javascript].
14
14
15
15
If you are using TypeScript in your project, you can leverage LiveObjects' built-in TypeScript support to ensure type safety and enable autocompletion when working with objects on a channel.
16
16
17
-
h2(#global). Global ObjectsTypes interface
17
+
h2(#global). Global AblyObjectsTypes interface
18
18
19
-
You can type objects on all your channels by defining a global @ObjectsTypes@ interface. If you only want to type the root object for a specific channel, see the "Typing channel.objects.getRoot()":#getroot section below.
19
+
You can type objects on all your channels by defining a global @AblyObjectsTypes@ interface. If you only want to type the root object for a specific channel, see the "Typing channel.objects.getRoot()":#getroot section below.
20
20
21
-
Define the @ObjectsTypes@ interface in a type declaration file. You can create a file named @ably.config.d.ts@ in the root of your application:
21
+
Define the @AblyObjectsTypes@ interface in a type declaration file. You can create a file named @ably.config.d.ts@ in the root of your application:
0 commit comments