Skip to content

Commit 7b24223

Browse files
committed
feat(front): support file as tile response type
1 parent 5ae0717 commit 7b24223

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/front/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@thatopen/components-front",
33
"description": "Collection of frontend tools to author BIM apps.",
4-
"version": "2.3.0-alpha.6",
4+
"version": "2.3.0-alpha.7",
55
"author": "That Open Company",
66
"contributors": [
77
"Antonio Gonzalez Viegas (https://github.com/agviegas)",

packages/front/src/fragments/IfcStreamer/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class IfcStreamer extends OBC.Component implements OBC.Disposable {
6565
*/
6666
useCache = true;
6767

68-
fetch = async (fileName: string) => {
68+
fetch = async (fileName: string): Promise<Response | File> => {
6969
return fetch(this.url + fileName);
7070
};
7171

0 commit comments

Comments
 (0)