Skip to content

Commit

Permalink
fix(file-transfer): fix readme
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed Feb 6, 2022
1 parent ae38de5 commit 325a563
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/node-opcua-file-transfer/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ $ npm install node-opcua-file-transfer
## exposing a File node in the addressSpace

```javascript
import { OPCUAServer, UAFileType } from "node-opcua";
import { OPCUAServer, UAFile } from "node-opcua";
import { installFileType } from "node-opcua-file-transfer";

```
Expand Down Expand Up @@ -44,7 +44,7 @@ const myFile = fileType.instantiate({
nodeId: "s=MyFile",
browseName: "MyFile",
organizedBy: addressSpace.rootFolder.objects
}) as UAFileType;
}) as UAFile;

// now bind the opcuaFile object with our file
installFileType(opcuaFile, {
Expand Down

0 comments on commit 325a563

Please sign in to comment.