@katana-project/laser 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/resolver.js +2 -1
  2. package/package.json +1 -1
package/dist/resolver.js CHANGED
@@ -46,7 +46,8 @@ const getTypeName = (node, source, limit = node.to) => {
46
46
  node.parent.name !== "ClassDeclaration" &&
47
47
  node.parent.name !== "ConstructorDeclaration" &&
48
48
  node.parent.name !== "InterfaceDeclaration" &&
49
- node.parent.name !== "LocalVariableDeclaration")) {
49
+ node.parent.name !== "LocalVariableDeclaration" &&
50
+ node.parent.name !== "RecordDeclaration")) {
50
51
  // only allow getting Definition-based type names from these declarations
51
52
  return null;
52
53
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@katana-project/laser",
3
- "version": "0.3.0",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "author": "katana-project",
6
6
  "license": "MIT",