Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/interface_optional_properties'…
Browse files Browse the repository at this point in the history
… into interface_optional_properties
  • Loading branch information
markwpearce committed Nov 21, 2023
2 parents aafc083 + e6b7997 commit bfc8423
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/create-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ jobs:
echo "ARTIFACT_URL=$ARTIFACT_URL" >> $GITHUB_ENV
- run: npm ci
- run: npm config set ignore-scripts true
- run: npm run build
- run: npm version "$BUILD_VERSION" --no-git-tag-version
- run: npm pack

Expand Down
2 changes: 1 addition & 1 deletion src/AstValidationSegmenter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class AstValidationSegmenter {
const options: GetTypeOptions = { flags: flag, onlyCacheResolvedTypes: true, typeChain: typeChain };

const nodeType = expression.getType(options);
if (!nodeType.isResolvable()) {
if (!nodeType?.isResolvable()) {
let symbolsSet: Set<UnresolvedSymbol>;
if (!assignedSymbols?.has(typeChain[0].name.toLowerCase())) {
if (!this.unresolvedSegmentsSymbols.has(segment)) {
Expand Down

0 comments on commit bfc8423

Please sign in to comment.