From 69408720a6f00f3d6046b1a8e9d98f36aa057740 Mon Sep 17 00:00:00 2001 From: Michael Feher Date: Wed, 18 Oct 2023 10:58:59 -0500 Subject: [PATCH] feat: add ext to typescript template --- typescript_templates/model.vm | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/typescript_templates/model.vm b/typescript_templates/model.vm index 4a18a4f..f5390f5 100644 --- a/typescript_templates/model.vm +++ b/typescript_templates/model.vm @@ -129,12 +129,12 @@ typeof $value !== 'undefined' ? $assignment : undefined## */ /* eslint-disable no-use-before-define */ -import { base64ToBytes } from '../../../../encoding/binarydata'; +import { base64ToBytes } from '../../../../encoding/binarydata.js'; #if ( $propFile.indexer == "false" ) -import BlockHeader from '../../../../types/blockHeader'; -import { EncodedSignedTransaction } from '../../../../types/transactions/encoded'; +import BlockHeader from '../../../../types/blockHeader.js'; +import { EncodedSignedTransaction } from '../../../../types/transactions/encoded.js'; #end -import BaseModel from '../../basemodel'; +import BaseModel from '../../basemodel.js'; #foreach( $modelEntry in $models.entrySet() ) #set( $def = $modelEntry.key )