Skip to content

Commit

Permalink
chore: use IdeUri instead of string
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Feb 17, 2021
1 parent 96153a0 commit 61c8961
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions types-packages/definitions.d.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import * as Atom from "atom"

export type IdeUri = string

export interface Definition {
/**
* Path of the file in which the definition is located.
*/
path: string
path: IdeUri
/**
* First character of the definition's identifier.
* e.g. "F" in `class Foo {}`
Expand All @@ -23,7 +25,7 @@ export interface Definition {
/**
* If provided, `projectRoot` will be used to display a relativized version of `path`.
*/
projectRoot?: string
projectRoot?: IdeUri
/**
* `language` may be used by consumers to identify the source of definitions.
*/
Expand Down

0 comments on commit 61c8961

Please sign in to comment.