Преглед на файлове

fixed errors in TS files

Lewy Blue преди 6 години
родител
ревизия
e3ed7fc578
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      examples/jsm/loaders/NRRDLoader.d.ts
  2. 1 1
      examples/jsm/misc/VolumeSlice.d.ts

+ 1 - 1
examples/jsm/loaders/NRRDLoader.d.ts

@@ -17,7 +17,7 @@ export class NRRDLoader {
 
   load(url: string, onLoad: (group: Volume) => void, onProgress?: (event: ProgressEvent) => void, onError?: (event: ErrorEvent) => void): void;
   parse(data: string) : Volume;
-  parseChars(array: number[], start?: number, end?: number) : Volume;
+  parseChars(array: number[], start?: number, end?: number) : string;
   setPath(value: string) : this;
 
 }

+ 1 - 1
examples/jsm/misc/VolumeSlice.d.ts

@@ -1,9 +1,9 @@
 import {
+  Matrix3,
   Mesh,
 } from '../../../src/Three';
 
 import { volume } from './Volume';
-import { Matrix3 } from '../../../build/three.module';
 
 export class VolumeSlice {
   constructor( volume: Volume, index?: number, axis?: string );