Skip to content

Commit

Permalink
Refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
Mqxx committed Jan 8, 2024
1 parent d5047fb commit 7e63b5a
Show file tree
Hide file tree
Showing 15 changed files with 12 additions and 12 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/serial/interface/port.d.ts → src/interface/port.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Baudrate } from '../type/baudrate.d.ts'
import { DataBits } from '../type/data_bits.d.ts'
import { Parity } from '../type/parity.d.ts'
import { StopBits } from '../type/stop_bits.d.ts'
import { Baudrate } from '../type/baudrate.ts'
import { DataBits } from '../type/data_bits.ts'
import { Parity } from '../type/parity.ts'
import { StopBits } from '../type/stop_bits.ts'

export interface Port {
/**
Expand Down
File renamed without changes.
File renamed without changes.
8 changes: 4 additions & 4 deletions src/serial/index.ts → src/serial.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Device } from './interface/device.d.ts';
import { Port } from './interface/port.d.ts';
import { ReadOptions } from './interface/read_options.d.ts';
import { WriteOptions } from './interface/write_options.d.ts';
import { Device } from './interface/device.ts';
import { Port } from './interface/port.ts';
import { ReadOptions } from './interface/read_options.ts';
import { WriteOptions } from './interface/write_options.ts';

/**
* The Serial class with all its functionality.
Expand Down
2 changes: 1 addition & 1 deletion src/serial/type/baudrate.d.ts → src/type/baudrate.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TypeFromArray } from './conversion/type_from_array.d.ts';
import { TypeFromArray } from './conversion/type_from_array.ts';
import { baudrates } from '../constant/baudrates.ts';

/**
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/serial/type/data_bits.d.ts → src/type/data_bits.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TypeFromObject } from './conversion/type_from_object.d.ts';
import { TypeFromObject } from './conversion/type_from_object.ts';
import { dataBits } from '../constant/data_bits.ts';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/serial/type/parity.d.ts → src/type/parity.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TypeFromObject } from './conversion/type_from_object.d.ts';
import { TypeFromObject } from './conversion/type_from_object.ts';
import { parities } from '../constant/parities.ts';

/**
Expand Down
2 changes: 1 addition & 1 deletion src/serial/type/stop_bits.d.ts → src/type/stop_bits.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { TypeFromObject } from './conversion/type_from_object.d.ts';
import { TypeFromObject } from './conversion/type_from_object.ts';
import { stopBits } from '../constant/stop_bits.ts';

/**
Expand Down

0 comments on commit 7e63b5a

Please sign in to comment.