Skip to content

Commit

Permalink
fix: renamed .t.ts do .d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
0xGorilla committed Jan 12, 2024
1 parent 4c1a176 commit a49ddd5
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/config.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { InternalConfig, UserConfig } from "./types/config.t";
import { InternalConfig, UserConfig } from "./types/config";

export async function getConfig(configPath: string): Promise<InternalConfig> {
const configModule = await import(configPath);
Expand Down
1 change: 1 addition & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { UserConfig } from './types/config';
1 change: 0 additions & 1 deletion src/index.ts

This file was deleted.

4 changes: 2 additions & 2 deletions src/parser.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Natspec, NatspecDefinition } from './types/natspec.t';
import { NodeToProcess } from './types/solc-typed-ast.t';
import { Natspec, NatspecDefinition } from './types/natspec';
import { NodeToProcess } from './types/solc-typed-ast';

export function parseNodeNatspec(node: NodeToProcess): Natspec {
if (!node.documentation) {
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/validator.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Natspec } from '../src/types/natspec.t';
import { Natspec } from './types/natspec';
import { Config } from './utils';
import { NodeToProcess } from './types/solc-typed-ast.t';
import { NodeToProcess } from './types/solc-typed-ast';
import {
EnumDefinition,
ErrorDefinition,
Expand Down
2 changes: 1 addition & 1 deletion test/validator.test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { validate } from '../src/validator';
import { Config } from '../src/utils';
import { getFileCompiledSource } from '../src/utils';
import { NodeToProcess } from '../src/types/solc-typed-ast.t';
import { NodeToProcess } from '../src/types/solc-typed-ast';
import { ContractDefinition } from 'solc-typed-ast';

describe('validator function', () => {
Expand Down

0 comments on commit a49ddd5

Please sign in to comment.