Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 13 additions & 5 deletions jsdoc-testing/changes.patch
Original file line number Diff line number Diff line change
Expand Up @@ -7927,7 +7927,7 @@ index e44d5d72d..f676390c3 100644
+// eslint-disable-next-line @typescript-eslint/no-empty-interface
+export interface SpriteMaterial extends SpriteMaterialProperties {}
diff --git a/jsdoc-testing/jsdoc/materials/nodes/Line2NodeMaterial.d.ts b/jsdoc-testing/jsdoc/materials/nodes/Line2NodeMaterial.d.ts
index 1637e7e49..8ba16fe20 100644
index 82f46fddc..ff70c04d5 100644
--- a/jsdoc-testing/jsdoc/materials/nodes/Line2NodeMaterial.d.ts
+++ b/jsdoc-testing/jsdoc/materials/nodes/Line2NodeMaterial.d.ts
@@ -1,76 +1,50 @@
Expand Down Expand Up @@ -8018,16 +8018,15 @@ index 1637e7e49..8ba16fe20 100644
* @default false
*/
get worldUnits(): boolean;
@@ -78,9 +52,35 @@ declare class Line2NodeMaterial extends NodeMaterial {
@@ -78,16 +52,42 @@ declare class Line2NodeMaterial extends NodeMaterial {
/**
* Whether the lines should be dashed or not.
*
- * @type {boolean}
* @default false
*/
get dashed(): boolean;
}
-import NodeMaterial from './NodeMaterial.js';
+}
+
+// eslint-disable-next-line @typescript-eslint/no-empty-interface
+export interface Line2NodeMaterialParameters extends Partial<MapColorPropertiesToColorRepresentations<Line2NodeMaterialNodeProperties>>, LineDashedMaterialParameters {}
Expand All @@ -8050,7 +8049,16 @@ index 1637e7e49..8ba16fe20 100644
+ */
+ readonly isLine2NodeMaterial: boolean;
+ setValues(values?: Line2NodeMaterialParameters): void;
+}
/**
* Copies the properties of the given material to this instance.
*
* @param {Line2NodeMaterial} source - The material to copy.
* @return {Line2NodeMaterial} A reference to this material.
*/
- copy(source: Line2NodeMaterial): Line2NodeMaterial;
+ copy(source: Line2NodeMaterial): this;
}
-import NodeMaterial from './NodeMaterial.js';
+
+// eslint-disable-next-line @typescript-eslint/no-empty-interface
+interface Line2NodeMaterial extends Line2NodeMaterialNodeProperties, LineDashedMaterialProperties {}
Expand Down
7 changes: 7 additions & 0 deletions types/three/src/materials/nodes/Line2NodeMaterial.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,13 @@ declare class Line2NodeMaterial extends NodeMaterial {
*/
readonly isLine2NodeMaterial: boolean;
setValues(values?: Line2NodeMaterialParameters): void;
/**
* Copies the properties of the given material to this instance.
*
* @param {Line2NodeMaterial} source - The material to copy.
* @return {Line2NodeMaterial} A reference to this material.
*/
copy(source: Line2NodeMaterial): this;
}

// eslint-disable-next-line @typescript-eslint/no-empty-interface
Expand Down
Loading