Skip to content

Commit 3d81b82

Browse files
authored
Merge pull request #17 from datastructures-js/development
fix ts export
2 parents 877f7e4 + dbe1aa6 commit 3d81b82

4 files changed

Lines changed: 12 additions & 3 deletions

File tree

.eslintrc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"rules": {
3-
max-len: ["error", { "code": 80, "ignoreComments": true }],
3+
"max-len": ["error", { "code": 80, "ignoreComments": true }],
44
"comma-dangle": ["error", {
55
"functions": "ignore"
66
}],
7-
no-underscore-dangle: [
7+
"no-underscore-dangle": [
88
"error",
99
{ "allowAfterThis": true }
1010
]

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
## [v5.1.1] - 2021-06-20
9+
### Fixed
10+
- index.d.ts
11+
812
## [v5.1.0] - 2021-06-20
913
### Added
1014
- typescript.

index.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { Graph } from './src/graph';
2+
import { DirectedGraph } from './src/directedGraph';
3+
4+
export { Graph }
5+
export { DirectedGraph }

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@datastructures-js/graph",
3-
"version": "5.1.0",
3+
"version": "5.1.1",
44
"description": "graph & directed graph implementation in javascript",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)