Skip to content

Commit 8962588

Browse files
author
Alain Dumesny
committed
added TS type definition file from DefinitelyTyped
* this file is small and make it much easier for TS users not to @types/gridstack * makes it much easier for me update as code changes in 1 repo
1 parent 0651ace commit 8962588

File tree

3 files changed

+483
-0
lines changed

3 files changed

+483
-0
lines changed

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ module.exports = function(grunt) {
3737
dist: {
3838
files: {
3939
'dist/gridstack.js': ['src/gridstack.js'],
40+
'dist/gridstack.d.ts': ['src/gridstack.d.ts'],
4041
'dist/gridstack.jQueryUI.js': ['src/gridstack.jQueryUI.js'],
4142
}
4243
}

doc/CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Change log
2525

2626
- undefined x,y position messes up grid ([#1017](https://github.com/gridstack/gridstack.js/issues/1017)).
2727
- changed code to 2 spaces
28+
- TypeScript definition file now included - no need to include @types/gridstack, easier to update
2829

2930
## v0.5.1 (2019-11-07)
3031

0 commit comments

Comments
 (0)