We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c345cb1 commit 016406aCopy full SHA for 016406a
lib/client/doc.js
@@ -168,7 +168,7 @@ Doc.prototype.destroy = function(callback) {
168
// this function exists to update the document based on any added & removed API
169
// methods.
170
//
171
-// @param newType OT type provided by the ottypes library
+// @param newType OT type provided by the ottypes library or its name or uri
172
Doc.prototype._setType = function(newType) {
173
if (typeof newType === 'string') {
174
if (!types[newType]) throw new Error("Missing type " + newType);
0 commit comments