Explorar o código

Merge pull request #21058 from joshuaellis/bugfix/shape-type

TS: add uuid as a type to Shape
Mr.doob %!s(int64=4) %!d(string=hai) anos
pai
achega
1c81d6e87c
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      src/extras/core/Shape.d.ts

+ 5 - 0
src/extras/core/Shape.d.ts

@@ -13,6 +13,11 @@ export class Shape extends Path {
 	 */
 	type: string;
 
+	/**
+	 *
+	 */
+	uuid: string;
+
 	/**
 	 * @default []
 	 */