Skip to content

Commit

Permalink
refactor: Remove extraneous CapTP types imports (#9809)
Browse files Browse the repository at this point in the history
## Description

In anticipation of typescript joining Node.js in taking package.json exports into account to determine the public types of a package, this change removes an extraneous ambient types import that will no longer work in the new type discipline.

### Security Considerations

None.

### Scaling Considerations

None.

### Documentation Considerations

None.

### Testing Considerations

Type checks pass before and after this change.

### Upgrade Considerations

None.
  • Loading branch information
mergify[bot] authored Aug 1, 2024
2 parents f7e3252 + f5ac3a2 commit 77eeafc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/agoric-cli/src/init.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import chalk from 'chalk';
import { makePspawn } from './helpers.js';

/// <reference types="@endo/captp/src/types.js" />

// Use either an absolute template URL, or find it relative to DAPP_URL_BASE.
const gitURL = (relativeOrAbsoluteURL, base) => {
const url = new URL(relativeOrAbsoluteURL, base);
Expand Down

0 comments on commit 77eeafc

Please sign in to comment.