File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
src/Paysera/Bundle/JavascriptGeneratorBundle/Resources Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
44The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
55and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
66
7+ ## 11.8.0
8+ ### Changed
9+ - exports for properties
10+ - methods types export to type declaration
11+ - library ` paysera/lib-rest-client-common ` version bump to 2.6.4
12+
713## 11.7.0
814 - Added requirements to readme
915 - Updated dependencies
Original file line number Diff line number Diff line change 3939 <argument type =" string" >@paysera/http-client-common</argument >
4040 </call >
4141 <call method =" setVersion" >
42- <argument type =" string" >^2.6</argument >
42+ <argument type =" string" >^2.6.4 </argument >
4343 </call >
4444 <call method =" setOptions" >
4545 <argument type =" collection" >
194194 <argument type =" string" >@paysera/http-client-common</argument >
195195 </call >
196196 <call method =" setVersion" >
197- <argument type =" string" >^2.6</argument >
197+ <argument type =" string" >^2.6.4 </argument >
198198 </call >
199199 <call method =" setOptions" >
200200 <argument type =" collection" >
Original file line number Diff line number Diff line change @@ -14,13 +14,13 @@ import {{ typeConfig.importString|raw }};
1414 {% set extends = ' extends ' ~ get_parent_type_config(type ).typeName ~ ' Properties ' %}
1515 {% endif %}
1616{% endspaceless %}
17- interface {{ typeConfig .typeName | extract_type_name }}Properties {{ extends }}{
17+ export interface {{ typeConfig .typeName | extract_type_name }}Properties {{ extends }}{
1818{% for property in type .properties %}
1919 {{ property .name }}: {% include ' @PayseraJavascriptGenerator/Package/Src/dts/get_getter_return_type.twig' with { ' property' : property } only %};
2020{% endfor %}
2121}
2222
23- export interface {{ typeConfig .typeName | extract_type_name }} extends {{ get_parent_type_config(type ).typeName }} {
23+ declare class {{ typeConfig .typeName | extract_type_name }} extends {{ get_parent_type_config(type ).typeName }} {
2424{% for property in type .properties %}
2525 {{ js_generate_getter_name(property ) }}(): {% include ' @PayseraJavascriptGenerator/Package/Src/dts/get_getter_return_type.twig' with { ' property' : property } only %};
2626 {{ js_generate_setter_name(property ) }}({% include ' @PayseraJavascriptGenerator/Package/Src/dts/get_setter_argument.twig' with { ' property' : property } only %}): this;
You can’t perform that action at this time.
0 commit comments